Hello fellow list members,
I'm having a problem and after two day of debugging I don't know where 
else to turn.

I have a little real time linux program with several threads.
Most threads are activated by another threads with a call to 
pthread_wakeup_np. For a little while this seems to work alright. After 
about 20 calls to pthread_wakeup_np the activated threads are not executed.

I can see that the thread makes the call to pthread_wakeup_np 
(rtl_printf debug) but the thread never executes.

Does anybody have a clue.

The output looks kinda like this:

Activating thread 1 ...
Activating thread 2 ...
Executing thread 1 ....
Activating thread 3 ....
Executing thread 2 ....
Executing thread 3 ....
Activating thread 4 ....
Executing thread 4 ....
Activating thread 1 ....
Activating thread 2 ....
Activating thread 3 ....
Executing thread 1 ....
Activating thread 4 ....
Activating thread 5 ....
Executing thread 4 ....
Executing thread 5 ....

In this example thread  2 and 3 would be activated at the end but never 
execute. Any help is highly appreciated.

Thanks.

Ciao,
Philip

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/

Reply via email to