Monday 15 August 2011

c - Change stack space -


Currently, I am trying to implement the shared stack in the cluster system. This system has two address spaces, shared between a private and all processor.

How can I change the start and end of the stack in C programming?

That is, I stack in a shared space and use it to change the flow of the program.

My advice is: If you do this by stacking objects based on all objects from the point of view, If you do, the thread that sends you is never required to return to the function, which is the probave already created a shared object that another thread has created that object anyway now Is not going to reach. It is a) next to impossible, and b) will need to kill performance locking. The consequences of failure to do it correctly will be totally immoral bugs! Do not do this!

I advise the Molok all objects that leave the context of a thread and use the thread on it to use the safe reference count. You can also look at a look at threaded secure shared data structures like queue, two linked lists, etc.

No comments:

Post a Comment