English:

The Free and Open Productivity Suite
New: Apache OpenOffice 4.1.1 released!

Developer's Guide

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 Feather

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

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