
Hello All, On 7/3/06, Peter Dimov <pdimov@mmltd.net> wrote: [snip]
If you have any suggestions or comments, please let me know; in particular, if you have a better idea how to detect SunOS 5.10 or later, or if you know what memory synchronization guarantees the Solaris atomics are supposed to provide. :-)
A note on what's needed to actually use sp_counted_base_solaris (or compile it...). This code is valid for Solaris 10 update 1 (1/06 release) and later, including OpenSolaris. The code is valid for the original Solaris 10 GA (3/05) if the following patches are applied: (on x86/amd64) 118885-01 (or greater) atomic.h patch 118844-12 (or greater) kernel patch 118891-01 (or greater) llib-lc patch 118345-04 (or greater) libc.so.1 patch (on SPARC) 118884-01 (or greater) atomic.h patch 118822-12 (or greater) kernel patch 118890-01 (or greater) llib-lc patch 119689-03 (or greater) libc.so.1 patch The above patches were released in September 2005. The code is not valid for Solaris 9 or older unless Sun decides to release patches for the older operating systems. Michael