MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Standard C Library Functions                        atomicor(3C)



NAME
     atomicor,   atomicor8,   atomicoruchar,   atomicor16,
     atomicorushort,        atomicor32,       atomicoruint,
     atomicorulong,        atomicor64,        atomicor8nv,
     atomicorucharnv,   atomicor16nv,  atomicorushortnv,
     atomicor32nv,   atomicoruintnv,    atomicorulongnv,
     atomicor64nv - atomic OR operations

SYNOPSIS
     #include 

     void atomicor8(volatile uint8t *target, uint8t bits);


     void atomicoruchar(volatile uchart *target, uchart bits);


     void atomicor16(volatile uint16t *target, uint16t bits);


     void atomicorushort(volatile ushortt *target, ushortt bits);


     void atomicor32(volatile uint32t *target, uint32t bits);


     void atomicoruint(volatile uintt *target, uintt bits);


     void atomicorulong(volatile ulongt *target, ulongt bits);


     void atomicor64(volatile uint64t *target, uint64t bits);


     uint8t atomicor8nv(volatile uint8t *target, uint8t bits);


     uchart atomicorucharnv(volatile uchart *target, uchart bits);


     uint16t atomicor16nv(volatile uint16t *target, uint16t bits);


     ushortt atomicorushortnv(volatile ushortt *target, ushortt bits);


     uint32t atomicor32nv(volatile uint32t *target, uint32t bits);


     uintt atomicoruintnv(volatile uintt *target, uintt bits);




SunOS 5.11          Last change: 13 May 2005                    1






Standard C Library Functions                        atomicor(3C)



     ulongt atomicorulongnv(volatile ulongt *target, ulongt bits);


     uint64t atomicor64nv(volatile uint64t *target, uint64t bits);


DESCRIPTION
     These functions enable the the bitwise OR  of  bits  to  the
     value stored in target to occur in an atomic manner.

RETURN VALUES
     The *nv() variants of these functions return the new  value
     of target.

ERORS
     No errors are defined.

ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Interface Stability          Stable                      
    
     MT-Level                     MT-Safe                     
    


SEE ALSO
     atomicadd(3C),       atomicand(3C),       atomicbits(3C),
     atomiccas(3C),        atomicdec(3C),       atomicinc(3C),
     atomicswap(3C),       membarops(3C),        attributes(5),
     atomicops(9F)

NOTES
     The *nv() variants are substantially more expensive on some
     platforms  than  the  versions that do not return values. Do
     not use them unless you need to know the  new  value  atomi-
     cally.












SunOS 5.11          Last change: 13 May 2005                    2



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™