initial commit
Signed-off-by: Peter Siegmund <mars3142@noreply.mars3142.dev>
This commit is contained in:
28
libs/wxWidgets-3.3.1/docs/doxygen/groups/funcmacro_thread.h
Normal file
28
libs/wxWidgets-3.3.1/docs/doxygen/groups/funcmacro_thread.h
Normal file
@@ -0,0 +1,28 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: funcmacro_thread.h
|
||||
// Purpose: Threads function and macro group docs
|
||||
// Author: wxWidgets team
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/**
|
||||
|
||||
@defgroup group_funcmacro_thread Threads
|
||||
@ingroup group_funcmacro
|
||||
|
||||
The functions and macros here mainly exist to make it possible to write code
|
||||
which may be compiled in multi thread build (wxUSE_THREADS = 1) as well as in
|
||||
single thread configuration (wxUSE_THREADS = 0).
|
||||
|
||||
For example, a static variable must be protected against simultaneous access by
|
||||
multiple threads in the former configuration but in the latter the extra
|
||||
overhead of using the critical section is not needed. To solve this problem,
|
||||
the wxCRITICAL_SECTION() macro may be used to create and use the critical
|
||||
section only when needed.
|
||||
|
||||
@see wxThread, wxMutex, @ref overview_thread
|
||||
|
||||
Related class group: @ref group_class_threading
|
||||
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user