[haiku-development] Re: Writing Device Drivers - CRAM - Ticket Locking

  • From: John Scipione <jscipione@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 22 Aug 2011 16:36:30 -0400

On Mon, Aug 22, 2011 at 3:59 PM, Earl Pottinger <
earl_colby_pottinger@xxxxxxxxx> wrote:

> > > <earl_colby_pottinger> wrote:
> > > Is there a 64 bit Atomic_Add() function in Haiku?????
>
> > Yes, there are 64-bit variants of all of them on Haiku, c.f.
> >
> http://dev.haiku-os.org/browser/haiku/trunk/headers/os/support/SupportDefs.h#L194
>
> STUPID, Stupid, stupid. Would you believe that I text-searched for
> 'atomic_add_64' but not 'atomic_add64'?  I don't know why I did that.
>  Thanks for the file location.


Also, the functions are documented in the Haiku Book here:

http://api.haiku-os.org/SupportDefs_8h.html

John Scipione

Other related posts: