Open mbolt35 opened 10 years ago
Maybe, but it's very second class thing in my loooong todo list. Sorry. Since the code now is there, it's appreciated if you would like to make it yourself and contribute it to code base. CAS is in posix/libcHack.cpp, have fun. And please feel free to post here also. Many of this project are real hackings that everyone is encouraged to give a try. :)
Very cool! Thanks for the response and giving me the run down. I'll see what I can come up with!
Looking forward to your good news :D
When attempting to use atomic operation: __sync_bool_compare_and_swap(...), I'm getting:
FlasCC does not support CAS on a non-32bit values..
My first assumption was that this meant "nothing over 32-bit," but alas I'm mistaken. I could simply use an int as a work around, but are you planning on adding support for this?