… | |
… | |
122 | .\} |
122 | .\} |
123 | .rm #[ #] #H #V #F C |
123 | .rm #[ #] #H #V #F C |
124 | .\" ======================================================================== |
124 | .\" ======================================================================== |
125 | .\" |
125 | .\" |
126 | .IX Title "LIBEV 3" |
126 | .IX Title "LIBEV 3" |
127 | .TH LIBEV 3 "2013-02-18" "libev-4.11" "libev - high performance full featured event loop" |
127 | .TH LIBEV 3 "2013-02-28" "libev-4.11" "libev - high performance full featured event loop" |
128 | .\" For nroff, turn off justification. Always turn off hyphenation; it makes |
128 | .\" For nroff, turn off justification. Always turn off hyphenation; it makes |
129 | .\" way too many mistakes in technical documents. |
129 | .\" way too many mistakes in technical documents. |
130 | .if n .ad l |
130 | .if n .ad l |
131 | .nh |
131 | .nh |
132 | .SH "NAME" |
132 | .SH "NAME" |
… | |
… | |
4731 | between threads, that is, threads can be used, but threads never run on |
4731 | between threads, that is, threads can be used, but threads never run on |
4732 | different cpus (or different cpu cores). This reduces dependencies |
4732 | different cpus (or different cpu cores). This reduces dependencies |
4733 | and makes libev faster. |
4733 | and makes libev faster. |
4734 | .IP "\s-1EV_NO_THREADS\s0" 4 |
4734 | .IP "\s-1EV_NO_THREADS\s0" 4 |
4735 | .IX Item "EV_NO_THREADS" |
4735 | .IX Item "EV_NO_THREADS" |
4736 | If defined to be \f(CW1\fR, libev will assume that it will never be called |
4736 | If defined to be \f(CW1\fR, libev will assume that it will never be called from |
4737 | from different threads, which is a stronger assumption than \f(CW\*(C`EV_NO_SMP\*(C'\fR, |
4737 | different threads (that includes signal handlers), which is a stronger |
4738 | above. This reduces dependencies and makes libev faster. |
4738 | assumption than \f(CW\*(C`EV_NO_SMP\*(C'\fR, above. This reduces dependencies and makes |
|
|
4739 | libev faster. |
4739 | .IP "\s-1EV_ATOMIC_T\s0" 4 |
4740 | .IP "\s-1EV_ATOMIC_T\s0" 4 |
4740 | .IX Item "EV_ATOMIC_T" |
4741 | .IX Item "EV_ATOMIC_T" |
4741 | Libev requires an integer type (suitable for storing \f(CW0\fR or \f(CW1\fR) whose |
4742 | Libev requires an integer type (suitable for storing \f(CW0\fR or \f(CW1\fR) whose |
4742 | access is atomic with respect to other threads or signal contexts. No |
4743 | access is atomic with respect to other threads or signal contexts. No |
4743 | such type is easily found in the C language, so you can provide your own |
4744 | such type is easily found in the C language, so you can provide your own |