[PATCH] os: Fix timer race conditions

Keith Packard keithp at keithp.com
Mon Dec 29 14:30:06 PST 2014


> Keith, any chance of getting this in for 1.17?  I know you expressed 
> reservations about it, but the current code definitely corrupts the 
> timer list and is affecting a bunch of people, so this patch is 
> certainly better than nothing.

Yeah, it's an ugly little bit of code, and still seems prone to racing
when the timer list is modified from a timer callback. This reduces the
window, but doesn't close it.

But, as you say, it seems better than the current code.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20141229/1a6171ad/attachment.sig>


More information about the xorg-devel mailing list