]> git.tuebingen.mpg.de Git - paraslash.git/commit
ao_write: Check return value of pthread functions.
authorAndre Noll <maan@systemlinux.org>
Thu, 30 Jan 2014 21:51:44 +0000 (22:51 +0100)
committerAndre Noll <maan@systemlinux.org>
Sun, 6 Apr 2014 06:53:26 +0000 (08:53 +0200)
commitc10a445944b716f0f28c3d63f064a12e7b62ba92
tree7b0ffe2a8aba541da07364e7907db23989081a7c
parent5323dab36cfea7ee18f6ade7e38f1218cd7a9ea5
ao_write: Check return value of pthread functions.

Although pthread_cond_wait() and pthread_cond_signal() should never
fail on our setup, let's be conservative here and check the return
value anyway.

This patch also adds some comments and removes a few lines of code
which were commented out since day one of the ao writer.
ao_write.c