gold patch committed: Use semaphores instead of mutexes in tls_test

Ian Lance Taylor iant@google.com
Mon May 16 23:32:00 GMT 2011


The TLS test in the gold testsuite assumes that one thread can unlock a
mutex locked by a different thread.  This works on GNU/Linux but
reportedly fails on DragonFly.  POSIX does not guarantee that it works.
So I changed to test to use semaphores, as follows.  Committed to
mainline.

Ian


2011-05-16  Ian Lance Taylor  <iant@google.com>

	* testsuite/tls_test_main.cc: Use semaphores instead of mutexes.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 5022 bytes
Desc: patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20110516/904c4f02/attachment.bin>


More information about the Binutils mailing list