Documentation ¶
Overview ¶
Package urcu is a thin wrapper of Userspace RCU library.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ReadSide ¶
ReadSide represents an RCU read-side thread. Fields are exported so that they can be updated to reflect what C code did.
func NewReadSide ¶
func NewReadSide() *ReadSide
NewReadSide registers current thread an an RCU read-side thread. If the thread is registered in C code, do not call this function, use a zero ReadSide instead.
func (*ReadSide) Close ¶
Close unregisters current thread as an RCU read-side thread. If the thread is unregistered in C code, do not call this function.
Click to show internal directories.
Click to hide internal directories.