imports and python locking
Martin Pool
mbp at sourcefrog.net
Thu Jul 21 16:07:24 BST 2005
On 21 Jul 2005, Neal Becker <ndbecker2 at gmail.com> wrote:
> What distro are you testing on? Is this a modern glibc with nptl?
Ubuntu Hoary, libc6-2.3.2.ds1-20ubuntu13.
The attached c file demonstrates the problem when compiled with "gcc
-lpthread". Compiling with -march=686 (in the hope of using cmpxchg or
something) does not help. Run it under strace and observe thousands of
pointless futex calls.
--
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: semtest.c
Type: text/x-csrc
Size: 304 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050721/14b85c18/attachment.c
More information about the bazaar
mailing list