]> git.saurik.com Git - wxWidgets.git/blame_incremental - docs/doxygen/groups/funcmacro_thread.h
fix consruction of string
[wxWidgets.git] / docs / doxygen / groups / funcmacro_thread.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: funcmacro_thread.h
3// Purpose: Threads function and macro group docs
4// Author: wxWidgets team
5// RCS-ID: $Id: funcmacro_gdi.h 52454 2008-03-12 19:08:48Z BP $
6// Licence: wxWindows licence
7/////////////////////////////////////////////////////////////////////////////
8
9/**
10
11@defgroup group_funcmacro_thread Threads
12@ingroup group_funcmacro
13
14The functions and macros here mainly exist to make it possible to write code
15which may be compiled in multi thread build (wxUSE_THREADS = 1) as well as in
16single thread configuration (wxUSE_THREADS = 0).
17
18For example, a static variable must be protected against simultaneous access by
19multiple threads in the former configuration but in the latter the extra
20overhead of using the critical section is not needed. To solve this problem,
21the wxCRITICAL_SECTION() macro may be used to create and use the critical
22section only when needed.
23
24@sa wxThread, wxMutex, @ref overview_thread
25
26Related class group: @ref group_class_threading
27
28*/
29