So your code that changes the pointer should look like:
void change(int **x, int **y)
{
*x=*y;
}
// ...
Type: Posts; User: Daper
So your code that changes the pointer should look like:
void change(int **x, int **y)
{
*x=*y;
}
// ...
My proposition is to use shared memory: one process writes to it and the other read without any copying. You can use pipes as a synchronization mechanism if you need to, but message will not be...