Add a non-trivial GRWLock test
authorMatthias Clasen <mclasen@redhat.com>
Fri, 23 Sep 2011 11:21:53 +0000 (07:21 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 23 Sep 2011 11:25:07 +0000 (07:25 -0400)
commitcf020d8250c04abf52b5cde68076c09c02f6655d
tree94c1540c0751d7f1e12424ec0ea97659836fdd6b
parent0a9885ebd84b9e7762346be3153c2428bc95ec50
Add a non-trivial GRWLock test

This one tests that the writer lock behaves like a mutex.
Adapted from the corresponding test in GMutex.
glib/tests/rwlock.c