lkml.org 
[lkml]   [2001]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[PATCH] Midi close race
+       if (open_devs < 2)
+ del_timer(&poll_timer);

Probably you need del_timer_sync():
Otherwise the timer could be running on another cpu.

+ open_devs--;

--
Manfred
(OT: Are there any mail archives that store the cc list? I'm not
subscribed to l-k, and if I answer a mail the cc list is always lost)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.017 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site