The Free and Open Productivity Suite
Follow us on Twitter: @ApacheOO

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 Software Foundation

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

Apache, the Apache feather logo, and OpenOffice are trademarks of The Apache Software Foundation. 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.