Registry / concurrency / liburcu

liburcu

JSON →
library0.15.6vcpkgunverified

A userspace RCU (read-copy-update) library providing scalable read-side synchronization.

vcpkg install liburcu
INSTALL
IMPORT
SIG · LIBURCU
L
liburcu
concurrencycppv0.15.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

urcu.h
#include <urcu.h>

Initialize RCU and enter a read-side critical section.

#include <urcu.h> #include <stdio.h> int main() { rcu_init(); rcu_register_thread(); rcu_read_lock(); printf("In RCU read-side critical section\n"); rcu_read_unlock(); rcu_unregister_thread(); return 0; }
Debug
Known issues
gotchaliburcu requires linking with the appropriate library (e.g., liburcu.so) and may need compiler flags for memory ordering.
fix
Add target_link_libraries with urcu::urcu and ensure -lurcu is linked.
affects: *
Upgrade
Version history
0.15.6latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources

No resource links recorded.

liburcu — pip install liburcu · libregistry