Searched refs:increment (Results 1 – 5 of 5) sorted by relevance
47 except that the increment/decrement is done atomically, and the94 There is no simple way to atomically copy a pointer and increment its96 copying and the increment where the reference count is too low, and108 Atomic increment/decrement can be more than an order of magnitude109 more expensive than ordinary increment/decrement. The serial110 optimization of eliminating redundant increment/decrement operations
129 void increment() { in increment() function150 counter.increment(); in TestReaderWriterLock_Impl()168 counter.increment(); in TestReaderWriterLock_Impl()
49 void increment() { in increment() function145 if( tbb::is_current_task_group_canceling() ) g_TGCCancelled.increment(); in operator ()()246 if( tbb::is_current_task_group_canceling() ) g_TGCCancelled.increment(); in operator ()()587 if( tbb::is_current_task_group_canceling() ) g_TGCCancelled.increment(); in operator ()()819 g_TGCCancelled.increment(); in operator ()()1010 if( tbb::is_current_task_group_canceling() ) g_TGCCancelled.increment(); in operator ()()1286 if( tbb::is_current_task_group_canceling() ) g_TGCCancelled.increment(); in operator ()()1314 if( tbb::is_current_task_group_canceling() ) g_TGCCancelled.increment(); in operator ()()
113 So if the splitting constructor needs to increment a reference count114 shared with other objects, it should use an atomic increment.
45 …e increments an internal counter when it broadcasts a message. If the increment causes it to rea…