Hi there again!
It's me again and my newbie problems :P
I've been trying to read a string from a shared memory block but with no success.
I can read it OK if I use static name[] and content[]...
Type: Posts; User: opsis
Hi there again!
It's me again and my newbie problems :P
I've been trying to read a string from a shared memory block but with no success.
I can read it OK if I use static name[] and content[]...
OOoops...
Got it! Thanks! :)
OK sorry!
Here is a fully functional code. Surprisingly I noticed that the problem doesn't come from my_sem_open but from sem_open itself (?!)
I don't get any errors but the output is "* test *...
Ok, i have this function and for some reason the return value is ...........
sem_t *semn_open(int id){
return (sem_t*)sem_open("/999", O_CREAT);
}
Obviously this is a simplified...
No, you got me wrong...
I have a sending *process* and a receiver process with a receiving thread. That's why I can't use it (I guess).
Hi there!
I have a program waiting for messages from another process and it must have an infinite loop like for(;;) but I wouldn't like to have it using 100% CPU while it doesn't have messages to...