[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ddd and FIFO scheduling
From: |
Christian Hoffmann |
Subject: |
ddd and FIFO scheduling |
Date: |
Thu, 07 Jun 2001 10:41:05 +0200 |
hi
i,m working with ddd 3.2.1 on SUSE Linux 7.1
the main threads sets itself to FIFO scheduling with a hihg priority and
then starts other threads with
lower priorities. when running without debuggercontrol all works well,
the threads created from main
start when main enters pthread_join and they start in the order of their
priorities.
when debugging i set a breakpoint behind the first pthread_create in
main and a breakpoint on the threadstartfunction
of this first thread. when i press cont the program halts at the
breakpoint in the threadstartfunction and the main thread
waits in pthread_create. this is a totally different behaviour than when
running free, and the program crashes some while later !!
(because the returnvalue from pthread_create the thread_id is still not
known because main isn't back from pthread_create and this id
is used sometime later by a call from the started thread)
what should i do ??????????
thanks a lot for your help
christian
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- ddd and FIFO scheduling,
Christian Hoffmann <=