If the item with the key equal to \p key is not found the function returns an empty \p exempt_ptr.
@note The function does NOT dispose the item found. It just excludes the item from the list
- and returns a pointer to item found.
- You shouldn't lock RCU before calling this function.
+ and returns a pointer to the item.
+ You shouldn't lock RCU for current thread before calling this function.
\code
#include <cds/urcu/general_buffered.h>
The function returns \p true if success and \p false otherwise.
- RCU \p synchronize method can be called.
+ RCU \p synchronize method can be called. The RCU should not be locked.
Note that depending on RCU type used the \ref disposer call can be deferred.
The function can throw cds::urcu::rcu_deadlock exception if deadlock is encountered and
unlinks it from the list, and returns \p true.
If the item with the key equal to \p key is not found the function return \p false.
- RCU \p synchronize method can be called.
+ RCU \p synchronize method can be called. The RCU should not be locked.
Note that depending on RCU type used the \ref disposer call can be deferred.
The function can throw \ref cds_urcu_rcu_deadlock "cds::urcu::rcu_deadlock" exception if deadlock is encountered and
If the item with the key equal to \p key is not found the function return \p false.
- RCU \p synchronize method can be called.
+ RCU \p synchronize method can be called. The RCU should not be locked.
Note that depending on RCU type used the \ref disposer call can be deferred.
The function can throw \ref cds_urcu_rcu_deadlock "cds::urcu::rcu_deadlock" exception if deadlock is encountered and
@note The function does NOT dispose the item found. It just unlinks the item from the list
and returns a pointer to item found.
- You shouldn't lock RCU before calling this function, and you should manually release
- \p dest exempt pointer outside the RCU lock before reusing the pointer.
+ You shouldn't lock RCU for current thread before calling this function, and you should manually release
+ \p dest exempt pointer outside the RCU lock before reusing it.
\code
#include <cds/urcu/general_buffered.h>