[Gc] Re: [libatomic_ops] determining features (#7)

Ivan Maidanski ivmai at mail.ru
Thu Aug 8 14:03:56 PDT 2013

 Hello Noah,

sysdep depends on the architecture and compiler, e.g. gcc/x86.h

CAS emulated only if no H/W CAS but AO_REQUIRE_CAS defined.

Mutex implementation uses AO_pt_lock defined in src/atomic_ops.c (use -D AO_NO_PTHREADS to fail compile/link if mutex implementation is used.


Tue,  6 Aug 2013, 7:06 -07:00 from Noah Watkins <notifications at github.com>:
>Hi, is there a way to see which sysdep has been used in the compiled library? for instance, i'd like to know if when i compile i'm getting something efficient vs the backup mutex implementation.
>>Reply to this email directly or  view it on GitHub .
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://napali.hpl.hp.com/pipermail/gc/attachments/20130809/67c583d9/attachment.htm

More information about the Gc mailing list