X-Git-Url: https://git.lttng.org/?p=urcu.git;a=blobdiff_plain;f=README;h=77fe3607724af10640d89e7000b3440cc86be8fe;hp=218b4be16f1fd17f1c54b9761372b2d1e4eb1466;hb=d663f4894124307ef9b712222ef19085f79cb460;hpb=e2dd4f26d6176f28fcde7bd5076d0cf9d6eb05d3 diff --git a/README b/README index 218b4be..77fe360 100644 --- a/README +++ b/README @@ -101,6 +101,19 @@ Usage of all urcu libraries instead of inlines, so your application can link with the library. * Linking with one of the libraries below is always necessary even for LGPL and GPL applications. + * Define URCU_INLINE_SMALL_FUNCTIONS before including Userspace RCU + headers if you want Userspace RCU to inline small functions (10 + lines or less) into the application. It can be used by applications + distributed under any kind of license, and does *not* make the + application a derived work of Userspace RCU. + + Those small inlined functions are guaranteed to match the library + content as long as the library major version is unchanged. + Therefore, the application *must* be compiled with headers matching + the library major version number. Applications using + URCU_INLINE_SMALL_FUNCTIONS may be unable to use debugging + features of Userspace RCU without being recompiled. + Usage of liburcu