ACE_Task
- symptom: ACE_Task::getq() returns the error 'resource temporarily unavailable'
- probable cause: Your Task is a subclass of ACE_Task<ACE_NULL_SYNCH> and
you are using it in a multithreaded program. Try using ACE_Task<ACE_MT_SYNCH>
instead.
- symptom: ACE_Task::wait() throws an assert violation.
- probable cause: When you activate()d your Task, you specified
THR_DETACHED, which causes wait() to be unable to perform what you
want it to.
|