Re:Liblfds, a portable, license-free, lock-free data structu...
by ape4 on Tuesday May 31, 2016 @03:28PM
(#11809407)
Thanks for the info. This is the first time a library has replied to me ;)
Re:Liblfds, a portable, license-free, lock-free data structu...
by liblfds on Tuesday May 31, 2016 @03:42PM
(#11809541)
Google's huge investment in AI. You'll be hearing a lot more of it in the future :-)
("Do you REALLY want to use that API? I think you should space your comments out a bit more. Hey, your battery is getting low! BTW, I've just emailed your entire source base to Google for assimilation.")
On Linux, the library uses the GCC atomic intrinsics. As such, the library funamentally supports any platform GCC supports with its atomic intrinsics. So the instructions are indeed machine specific, but they're provided by the compiler through a standard API.
Of course, actually getting something to work means actually compiling in on a given platform and seeing the test programme pass.