lkml.org 
[lkml]   [2005]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Add pselect, ppoll system calls.
From
Date

> One pretty simple alternative is to just make the timeout be a global, and
> have the signal handler clear it, guaranteeing that if we're just about to
> hit the select(), we'll exit immediately.

That is still racy ... if the signal hits between loading that global to
to pass it to select and the actual syscall entry ... pretty narrow but
still there.


-
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-06-13 09:28    [from the cache]
©2003-2011 Jasper Spaans