… | |
… | |
4504 | If defined to be C<1>, libev will compile in support for the Linux inotify |
4504 | If defined to be C<1>, libev will compile in support for the Linux inotify |
4505 | interface to speed up C<ev_stat> watchers. Its actual availability will |
4505 | interface to speed up C<ev_stat> watchers. Its actual availability will |
4506 | be detected at runtime. If undefined, it will be enabled if the headers |
4506 | be detected at runtime. If undefined, it will be enabled if the headers |
4507 | indicate GNU/Linux + Glibc 2.4 or newer, otherwise disabled. |
4507 | indicate GNU/Linux + Glibc 2.4 or newer, otherwise disabled. |
4508 | |
4508 | |
|
|
4509 | =item EV_NO_SMP |
|
|
4510 | |
|
|
4511 | If defined to be C<1>, libev will assume that memory is always coherent |
|
|
4512 | between threads, that is, threads can be used, but threads never run on |
|
|
4513 | different cpus (or different cpu cores). This reduces dependencies |
|
|
4514 | and makes libev faster. |
|
|
4515 | |
|
|
4516 | =item EV_NO_THREADS |
|
|
4517 | |
|
|
4518 | If defined to be C<1>, libev will assume that it will never be called |
|
|
4519 | from different threads, which is a stronger assumption than C<EV_NO_SMP>, |
|
|
4520 | above. This reduces dependencies and makes libev faster. |
|
|
4521 | |
4509 | =item EV_ATOMIC_T |
4522 | =item EV_ATOMIC_T |
4510 | |
4523 | |
4511 | Libev requires an integer type (suitable for storing C<0> or C<1>) whose |
4524 | Libev requires an integer type (suitable for storing C<0> or C<1>) whose |
4512 | access is atomic and serialised with respect to other threads or signal |
4525 | access is atomic and serialised with respect to other threads or signal |
4513 | contexts. No such type is easily found in the C language, so you can |
4526 | contexts. No such type is easily found in the C language, so you can |