This is a discussion on e_wakeup() within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hello, I have some code that calls e_sleep_thread and another piece of code initiated by the user to wakeup ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello, I have some code that calls e_sleep_thread and another piece of code initiated by the user to wakeup the thread. I am using e_wakeup_w_result(&tid, result). I am doing this operation for only one thread i.e. the event_word param contains an addr of a single thread id. It results in a panic with a trace showing e_wakeup_w_result->.kwakeup->simple_lock()+0x014 Any clues why this is happening? The documentation states that the kernel service will wakeup all threads waiting on the event. But how does the service detect end of thread list? Do I have to pass any end-of-list marker in the event_word? thanks -kamal |