Re: what is the most efficient wakeup method (signals,msgs,semaphores)?

2000-10-21 Thread Dan Kegel
> I'd like to hear your opinions on the efficiency for the IPC mechanism > betweeen two processes. (from a kernel point of view) Have you read "Unix Network Programming, Volume 2, 2nd edition: IPC" by Richard Stevens? It has measurements for this kind of thing on two OS's, and you can run the

what is the most efficient wakeup method (signals,msgs,semaphores) ?

2000-10-19 Thread Benno Senoner
Hi, I'd like to hear your opinions on the efficiency for the IPC mechanism betweeen two processes. (from a kernel point of view) I have a process (A) which wakes up another process (B) very often (200-1000 times/sec). eg: A) while(1) { wait_a_few_msecs_using_RTC(); wake_up_B(); } B) while(1)

what is the most efficient wakeup method (signals,msgs,semaphores) ?

2000-10-19 Thread Benno Senoner
Hi, I'd like to hear your opinions on the efficiency for the IPC mechanism betweeen two processes. (from a kernel point of view) I have a process (A) which wakes up another process (B) very often (200-1000 times/sec). eg: A) while(1) { wait_a_few_msecs_using_RTC(); wake_up_B(); } B) while(1)