Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.