On Wednesday, March 27, 2002, at 12:03 PM, Conrad G T Yoder wrote:
All I am looking to do is have this thread sit and wait forever - no one
will be signalling it ever. That's why there's no loop.
What is the purpose of this sleeping thread? Why can't it just exit?
Could it wait by pthread_join()'ing one of the other threads?
When I attach with gdb and then interrupt, it is always in
semaphore_wait_signal_trap() - from `bt`:
Why do you say it's spinning? This is normal blocking behavior. Is the
app taking up CPU? What are the backtraces of the other threads?
The app is taking up ~100% CPU (from `ps`). Sorry, how do I attach to
the
other threads in gdb?
You do:
(gdb) thread apply all bt
matt.
_______________________________________________
unix-porting mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/unix-porting
Do not post admin requests to the list. They will be ignored.