[lkml]   [2002]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] Lightweight userspace semphores
Hi Hubertus,

I just had a quick look on your semaphore code. As far as I can see you
do no re-check of the userspace semaphore counter while going to sleep
on your kernel semaphore. But this way you may loose synchronization
between the kernel semaphore and the user-space semaphore counter if
more than two processes are involved. Or did I miss some tricky form
of how you avoided this problem?

Martin Wirth

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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