winpr/synch: add spinning support to barrier
authorNorbert Federa <norbert.federa@thincast.com>
Fri, 3 Jun 2016 22:55:27 +0000 (00:55 +0200)
committerNorbert Federa <norbert.federa@thincast.com>
Fri, 3 Jun 2016 22:55:27 +0000 (00:55 +0200)
commit85f44262dec6480f845c4ef45ca9f4bef61d672c
tree32cb8a19e43db9bacafbcdb6fc118b7b0fc71c59
parent341eed138f97304801ac84f6d70ac33b080c3298
winpr/synch: add spinning support to barrier

Implemented the SYNCHRONIZATION_BARRIER_FLAGS_BLOCK_ONLY and
SYNCHRONIZATION_BARRIER_FLAGS_SPIN_ONLY flags.
winpr/libwinpr/synch/barrier.c
winpr/libwinpr/synch/test/TestSynchBarrier.c