Always wake up readers after writing.
authorJamey Sharp <jamey@minilop.net>
Sun, 18 Apr 2010 00:59:11 +0000 (17:59 -0700)
committerJamey Sharp <jamey@minilop.net>
Sun, 18 Apr 2010 01:20:41 +0000 (18:20 -0700)
Since writers must make sure they read as well, threads may have gone to
sleep waiting for the opportunity to read. The writer must wake up one
of those readers or the application can hang.

Signed-off-by: Jamey Sharp <jamey@minilop.net>
Reviewed-by: Josh Triplett <josh@freedesktop.org>

No differences found