-
Guy Zana authored
this rwlock gives precedence to writers, it relies on a mutex and 2 condvars for it's implementation. it also supports taking the lock recursively for both readers and writers. this implementation is not fully tested but yet the TCP stack uses it extensively, so far without any seen races (tested TCPDownload and netperf).
Guy Zana authoredthis rwlock gives precedence to writers, it relies on a mutex and 2 condvars for it's implementation. it also supports taking the lock recursively for both readers and writers. this implementation is not fully tested but yet the TCP stack uses it extensively, so far without any seen races (tested TCPDownload and netperf).