ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev.pod
(Generate patch)

Comparing libev/ev.pod (file contents):
Revision 1.218 by root, Thu Nov 20 00:35:10 2008 UTC vs.
Revision 1.219 by root, Thu Nov 20 00:43:58 2008 UTC

3215 3215
3216If defined to be C<1>, libev will try to use a direct syscall instead 3216If defined to be C<1>, libev will try to use a direct syscall instead
3217of calling the system-provided C<clock_gettime> function. This option 3217of calling the system-provided C<clock_gettime> function. This option
3218exists because on GNU/Linux, C<clock_gettime> is in C<librt>, but C<librt> 3218exists because on GNU/Linux, C<clock_gettime> is in C<librt>, but C<librt>
3219unconditionally pulls in C<libpthread>, slowing down single-threaded 3219unconditionally pulls in C<libpthread>, slowing down single-threaded
3220programs needlessly. Using a direct syscall is slightly slower, because 3220programs needlessly. Using a direct syscall is slightly slower (in
3221no optimised vdso implementation can be used, but avoids the pthread 3221theory), because no optimised vdso implementation can be used, but avoids
3222dependency. Defaults to C<1> on GNU/Linux with glibc 2.x or higher. 3222the pthread dependency. Defaults to C<1> on GNU/Linux with glibc 2.x or
3223higher, as it simplifies linking (no need for C<-lrt>).
3223 3224
3224=item EV_USE_NANOSLEEP 3225=item EV_USE_NANOSLEEP
3225 3226
3226If defined to be C<1>, libev will assume that C<nanosleep ()> is available 3227If defined to be C<1>, libev will assume that C<nanosleep ()> is available
3227and will use it for delays. Otherwise it will use C<select ()>. 3228and will use it for delays. Otherwise it will use C<select ()>.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines