login
Header Space

 
 

Re: ahc/ahd locking

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <kernel@...>
Date: Monday, December 31, 2007 - 11:20 pm

On Jan 1, 2008 8:19 AM, Peter Avalos <pavalos@theshell.com> wrote:

Assum serializer 'ser' is held.

...
/* Your code */
...
crit_enter();
tsleep_interlock(your_cond);
lwkt_serialize_exit(ser);
error = tsleep(your_cond, 0, "name", to);
crit_exit();
lwkt_serialize_enter(ser);
...
/* Your code */
...

Best Regards,
sephe

-- 
Live Free or Die
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: ahc/ahd locking, Matthew Dillon, (Mon Dec 31, 12:32 pm)
Re: ahc/ahd locking, Peter Avalos, (Mon Dec 31, 6:21 pm)
Re: ahc/ahd locking, Peter Avalos, (Mon Dec 31, 8:19 pm)
Re: ahc/ahd locking, Peter Avalos, (Tue Jan 1, 10:15 pm)
Re: ahc/ahd locking, Sepherosa Ziehau, (Mon Dec 31, 11:20 pm)
Re: ahc/ahd locking, Peter Avalos, (Tue Jan 1, 10:15 pm)
speck-geostationary