[Paul Davis]
[...]
currently, i use FIFO's, and i plan to switch to
futexes when
they become available. NPTL uses futexes to implement condition
variables, but linuxthreads uses signals.
pipe()s here too. last time i benchmarked on an early 2.4 kernel, pipe
and socketpair gave about the same timing figures, quicker than
msgsnd/rcv. i don't remember the exact numbers but i remember being
positively surprised.
giving you an fd, both pipe and socketpair can be operated on within a
poll() loop, which is quite handy sometimes. don't know if futexes
will do that?
tim