It's fine. pthread is currently the only way to do spinlocks in Haiku/gcc2 ; the gcc4 version will pick the atomic stuff that's already in there.
Ok, it's in SDL's repo. On to the next thing, Nathan! :) --ryan.