3f66f6a5b3
This keyword is not expanded by Git which means it's not replaced with the correct revision value in the releases made using git-based scripts and it's confusing to have lines with unexpanded "$Id$" in the released files. As expanding them with Git is not that simple (it could be done with git archive and export-subst attribute) and there are not many benefits in having them in the first place, just remove all these lines. If nothing else, this will make an eventual transition to Git simpler. Closes #14487. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
28 lines
1.0 KiB
C
28 lines
1.0 KiB
C
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: funcmacro_atomic.h
|
|
// Purpose: Atomic Operation function and macro group docs
|
|
// Author: wxWidgets team
|
|
// Licence: wxWindows licence
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
/**
|
|
|
|
@defgroup group_funcmacro_atomic Atomic Operations
|
|
@ingroup group_funcmacro
|
|
|
|
When using multi-threaded applications, it is often required to access or
|
|
modify memory which is shared between threads. Atomic integer and pointer
|
|
operations are an efficient way to handle this issue (another, less efficient,
|
|
way is to use a wxMutex or wxCriticalSection). A native implementation exists
|
|
for Windows, Linux, Solaris and Mac OS X; for others, a wxCriticalSection is
|
|
used to protect the data.
|
|
|
|
One particular application is reference counting (used by so-called
|
|
@ref group_class_smartpointers "smart pointers").
|
|
|
|
You should define your variable with the type wxAtomicInt in order to apply
|
|
atomic operations to it.
|
|
|
|
*/
|
|
|