Go patch committed: New lock/note implementation
Ian Lance Taylor
iant@google.com
Tue Nov 22 20:57:00 GMT 2011
This patch updates the implementations of locks and notes used in libgo
to use the current version from the master Go library. This now uses
futexes when running on GNU/Linux, while still using semaphores on other
systems. This implementation should be faster, and does not require
explicit initialization. Bootstrapped and ran Go testsuite on
x86_64-unknown-linux-gnu. I tested both the futex and the semaphore
versions. Committed to mainline.
Ian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 29973 bytes
Desc: patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20111122/29a4a385/attachment.bin>
More information about the Gcc-patches
mailing list