winpr/synch: rewrite barrier implementation & test
authorNorbert Federa <norbert.federa@thincast.com>
Fri, 3 Jun 2016 16:56:36 +0000 (18:56 +0200)
committerNorbert Federa <norbert.federa@thincast.com>
Fri, 3 Jun 2016 16:56:36 +0000 (18:56 +0200)
commit341eed138f97304801ac84f6d70ac33b080c3298
tree3f9468ed3e182cc7b8a22536f38d2040077ac486
parent8ea8b7c780645bf04d05182f3beb57b24f960aea
winpr/synch: rewrite barrier implementation & test

The synchronization barrier test as well as the actual WinPR
implementation were completely broken.
winpr/libwinpr/synch/barrier.c
winpr/libwinpr/synch/synch.h
winpr/libwinpr/synch/test/TestSynchBarrier.c