On Thu, May 29, 2003 at 10:52:15PM -0700, Linus Torvalds wrote: > > On Thu, 29 May 2003, Ian Romanick wrote: > > > > You're right. We do _really_ want to use futex'es. However, I don't > > think they're available on *BSD or Solaris. > > ... > And once you have a nice wrapper and they look like spinlocks, *BSD and > Solaris must have _some_ equivalent. If worst comes to worst, you do a > "loop with atomic accesses and yield()" thing as a fallback.
Dunno anything about "futex'es". But Solaris does not seem to have an equivalent of any of atomic_inc(), atomic_dec(), atomic_read() FYI. It has the old standards of mutexes, and semaphores. Oh, and condition variables. [ cv_wait, cv_signal ] ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel