X-Git-Url: https://git.lttng.org/?p=urcu.git;a=blobdiff_plain;f=README.md;h=2d6dcaa2a4bfba1199c7dee5bcad5ec743acebf8;hp=7a33cd7ea044c138618d886f50325661ff757105;hb=109267f653502cf5ef5ada5d098167b9726daa2d;hpb=f328865f6a3f75fc14388be0e9fc5507015af3a8 diff --git a/README.md b/README.md index 7a33cd7..2d6dcaa 100644 --- a/README.md +++ b/README.md @@ -224,10 +224,11 @@ be overridden with `-DSIGRCU` by modifying `Makefile.build.inc`. The BP library flavor stands for "bulletproof". It is specifically designed to help tracing library to hook on applications without -requiring to modify these applications. `urcu_bp_init()`, -`urcu_bp_register_thread()` and `urcu_bp_unregister_thread()` all become -nops. The state is dealt with by the library internally at the expense -of read-side and write-side performance. +requiring to modify these applications. `urcu_bp_init()`, and +`urcu_bp_unregister_thread()` all become nops, whereas calling +`urcu_bp_register_thread()` becomes optional. The state is dealt with by +the library internally at the expense of read-side and write-side +performance. ### Initialization @@ -410,6 +411,20 @@ systems can be disabled with: theoretically yielding slightly better performance. +### Usage of `--enable-cds-lfht-iter-debug` + +By default the library is configured with extra debugging checks for +lock-free hash table iterator traversal disabled. + +Building liburcu with --enable-cds-lfht-iter-debug and rebuilding +application to match the ABI change allows finding cases where the hash +table iterator is re-purposed to be used on a different hash table while +still being used to iterate on a hash table. + +This option alters the rculfhash ABI. Make sure to compile both library +and application with matching configuration. + + Make targets ------------