hello,
I know linux has this mechanism
I wanna implement it in windows 2003 and I've done some parts but one point:
writer must wait until all the reader finished.
hint: I don't want a loop in the mutex critical-section to subtract the semaphore by plural number,which can't be directly done in windows,because that's a waste of cpu-time.
it seems not that difficult but I just can't make it well.
thx in advance~~
-yogo