Overview | Namespace | Class | Index | Help

## Global Functions in Global Namespace C++
in Sourcefile interlck.h

osl_decrementInterlockedCount
  extern "C"
  oslInterlockedCount osl_decrementInterlockedCount(

    oslInterlockedCount * | pCount );

  virtual | abstract | const | volatile | template | static | inline | C-linkage
  NO | NO | NO | NO | NO | NO | NO | YES

  Summary
    Decrement the count variable addressed by pCount.
  Parameters

    Address |
        of counter variable

  Return
    The result of the operation is the new value is of the count variable.

osl_incrementInterlockedCount
  extern "C"
  oslInterlockedCount osl_incrementInterlockedCount(

    oslInterlockedCount * | pCount );

  virtual | abstract | const | volatile | template | static | inline | C-linkage
  NO | NO | NO | NO | NO | NO | NO | YES

  Summary
    Increments the count variable addressed by pCount.
  Parameters

    Address |
        of counter variable

  Return
    The result of the operation is zero, the value of the count variable.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.