• Home
  • Raw
  • Download

Lines Matching refs:thread_specific_ptr

22 [heading Portable thread-local storage with `boost::thread_specific_ptr`]
24 `boost::thread_specific_ptr` provides a portable mechanism for thread-local storage that works on a…
25 __boost_thread__. Each instance of `boost::thread_specific_ptr` represents a pointer to an object (…
36 When a thread exits, the objects associated with each `boost::thread_specific_ptr` instance are des…
38 `boost::thread_specific_ptr` by providing a cleanup routine to the constructor. In this case, the o…
40 …p routine sets the value of associated with an instance of `boost::thread_specific_ptr` that has a…
42 `boost::thread_specific_ptr` with values.
52 Boost.Thread uses the address of the `thread_specific_ptr` instance as key of the thread specific p…
54 [section:thread_specific_ptr Class `thread_specific_ptr`]
61 class thread_specific_ptr
64 thread_specific_ptr();
65 explicit thread_specific_ptr(void (*cleanup_function)(T*));
66 ~thread_specific_ptr();
77 [section:default_constructor `thread_specific_ptr();`]
83 [[Effects:] [Construct a `thread_specific_ptr` object for storing a pointer to an object of type `T…
93 [section:constructor_with_custom_cleanup `explicit thread_specific_ptr(void (*cleanup_function)(T*)…
99 [[Effects:] [Construct a `thread_specific_ptr` object for storing a pointer to an object of type `T…
108 [section:destructor `~thread_specific_ptr();`]
112 [[Requires:] [All the thread specific instances associated to this thread_specific_ptr (except mayb…
122 …to ensure that any threads still running after an instance of `boost::thread_specific_ptr` has been
137 [note The initial value associated with an instance of `boost::thread_specific_ptr` is `NULL` for e…