lkml.org 
[lkml]   [1999]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: new semaphores
Date
Andrea,
if you are modifying the semaphore code, perhaps you could add something
similar to the WinNT ERESOURCE:
* single writer, multiple reader.
* schedules other threads when busy.
* you cannot call "up_rsrc()" before you called "down_rsrc()" [this is
possible with semaphores, at least on NT], so wake-one should be possible.

IIRC, Alexander Viro wrote that he might need that to fix the VFS
read()/write()/truncate() synchronization.

--
Manfred


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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