[lkml]   [2011]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 2/3] ipc/sem.c: handle spurious wakeups
On Sat, 24 Sep 2011 19:37:11 +0200
Manfred Spraul <> wrote:

> semtimedop() does not handle spurious wakeups, it returns -EINTR to user space.
> Most other schedule() users would just loop and not return to user space.
> The patch adds such a loop to semtimedop()

What is a "spurious wakeup" and how can a process receive one?

I'm wondering about the userspace-visible effects of this change, and
any compatibility issues?

 \ /
  Last update: 2011-10-11 23:57    [W:0.043 / U:1.928 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site