Add trivial tests for GMutex and GRecMutex
authorMatthias Clasen <mclasen@redhat.com>
Fri, 23 Sep 2011 01:55:43 +0000 (21:55 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 23 Sep 2011 01:58:54 +0000 (21:58 -0400)
commit295af777e4c251559f15502e6082f540a7a0f325
tree32558b2dc5c5d7b1f2a8a6f8550f5625d30fcf4b
parent9958909fb2cf818a24737dc3a90e98e6f2f02910
Add trivial tests for GMutex and GRecMutex

Not testing any mutual exclusion with threads yet, just
basic api use. This is already enough to reveal g_rec_mutex_trylock
as broken...
glib/tests/Makefile.am
glib/tests/mutex.c [new file with mode: 0644]
glib/tests/rec-mutex.c [new file with mode: 0644]