Search:

Type: Posts; User: opsis

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,532

    Problems on shmem access

    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[]...
  2. Replies
    5
    Views
    1,932

    OOoops... Got it! Thanks! :)

    OOoops...

    Got it! Thanks! :)
  3. Replies
    5
    Views
    1,932

    OK sorry! Here is a fully functional code....

    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 *...
  4. Replies
    5
    Views
    1,932

    What is wrong with this function?

    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...
  5. Replies
    4
    Views
    2,466

    No, you got me wrong... I have a sending...

    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).
  6. Replies
    4
    Views
    2,466

    How to stop an infinite cyle?

    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...
Results 1 to 6 of 6