Skip to content

Commit

Permalink
Documentation|libdeng2: Note about Shared's thread safety
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Apr 8, 2014
1 parent a510114 commit 6ace3b0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doomsday/libdeng2/include/de/data/shared.h
Expand Up @@ -31,6 +31,11 @@ namespace de {
* You must use the DENG2_SHARED_INSTANCE() macro to define where the static
* instance pointer is located.
*
* @par Thread-safety
*
* Shared is not thread safe. The shared object can only be accessed from a
* single thread.
*
* @ingroup data
*/
template <typename Type>
Expand Down

0 comments on commit 6ace3b0

Please sign in to comment.