Displaying 1 result from an estimated 1 matches for "rvts12".
Did you mean:
rvts10
2007 Nov 24
19
R/W lock portability issue
Hi,
I am having a problem porting Solaris R/W lock functionality to Linux.
The problem is that RW_LOCK_HELD() doesn''t have an equivalent function
in pthreads.
This was not a problem before because RW_LOCK_HELD() was only used in
ASSERT statements. In this case, I was able to make it work by making it
behave a bit differently (specifically, it would return true if *any*
thread was