Unix Technical Forum

e_wakeup()

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 06:36 AM
Kamal R. Prasad
 
Posts: n/a
Default e_wakeup()

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:25 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com