MDN may have intermittent access issues April 18 13:00 - April 19 01:00 UTC. See whistlepig.mozilla.org for all notifications.

mozilla
Your Search Results

    PR_AtomicAdd

    This article is in need of a technical review.

    Syntax

    #include <pratom.h> 
    
    PRInt32 PR_AtomicAdd(
      PRInt32 *ptr, 
      PRInt32 val);
    

    Parameter

    The function has the following parameters:

    ptr
    A pointer to the value to increment.
    val
    A value to be added.

    Returns

    The returned value is the result of the addition.

    Description

    Atomically add a 32 bit value.

     

    Document Tags and Contributors

    Contributors to this page: balah, kscarfone
    Last updated by: kscarfone,