unit-tests: Sync threads with main thread in test_cleanup_cancel()
authorTobias Brunner <tobias@strongswan.org>
Mon, 19 May 2014 14:06:52 +0000 (16:06 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 19 May 2014 14:06:52 +0000 (16:06 +0200)
commitb9dfeb5de44f48657f2998c5fccc17ab975d0ff1
treeea54645e760f17147a05d17380ca26c4ce9ed388
parent403ad5dd8556721e5c6ffefd294a13e8bc5d03d5
unit-tests: Sync threads with main thread in test_cleanup_cancel()

Without synchronization threads could get canceled before they could
disable their cancelability.
src/libstrongswan/tests/suites/test_threading.c