X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=doc%2Frrdthreads.pod;h=f05d6ea227d5ad418898ed5e84db2121d5dea30c;hb=ff2c56d197fc76e5f54d37fd8830369ca28d1420;hp=77690188a7dcb0c52611281eb4cfd9b750c2d650;hpb=e4acaa789385e98fe979cd48cb0fb1ddc8570b91;p=rrdtool.git diff --git a/doc/rrdthreads.pod b/doc/rrdthreads.pod index 7769018..f05d6ea 100644 --- a/doc/rrdthreads.pod +++ b/doc/rrdthreads.pod @@ -20,26 +20,26 @@ In order to use librrd in multi-threaded programs you must: =over -=item * +=item * Link with F instead of F (use C<-lrrd_th> when linking) -=item * +=item * Use the "C<_r>" functions instead of the normal API-functions -=item * +=item * Do not use any at-style time specifications. Parsing of such time specifications is terribly non-thread-safe. -=item * +=item * Never use non *C<_r> functions unless it is explicitly documented that the function is tread-safe. -=item * +=item * Every thread SHOULD call C before its first call to any C function in order to set up thread specific data. This