Hello!
I have 2 programs one is something like this: ... Pmsg(0,mailboxid,&rendezvous); printf("Ok I have a message\n"); .... printf("Sending message ...\n"); Pmsg(1,mailboxid,&rendezvous); /* send answer */
This is wrong. You can't use the mailboxid here as the read/write of process 2 expect the answer on id (0xffff | pid [of the sender]).
So whats wrong in my call? I have try to add as mailboxid=mailboxid|0xFFFF0000L but not better
If you use the pid of your first process it should work ok. Regards, Frank -- ATARI FALCON 060 // MILAN 060 ----------------------------------------- http://www.cs.uni-magdeburg.de/~fnaumann/ e-Mail: fnaumann@freemint.de