[Openib-windows] [PATCH] don't deadlock cl_timer_stop when called from timer callback

Fab Tillier ftillier at silverstorm.com
Fri Sep 2 15:20:03 PDT 2005


> From: Tillier, Fabian
> Sent: Wednesday, August 31, 2005 1:13 PM
> 
> Here's a patch for the timer.  The code stores the thread ID of any callback
> thread, and checks it in cl_timer_stop and skips canceling the timer if in the
> timer callback.
> 
> Let me know if it works properly for you.

FYI, I committed this as revision 59.  Let me know if you need changes to it.

- Fab




More information about the ofw mailing list