[zeromq-dev] Questions
Martin Hurton
martin.hurton at gmail.com
Fri Dec 19 21:54:17 CET 2008
On Fri, Dec 19, 2008 at 12:28:53PM +0800, Steven McCoy wrote:
> 2008/12/13 Martin Sustrik <sustrik at fastmq.com>:
> >
> > Yes, it may be interesting to use eventfd internally for waking up 0MQ I/O
> > threads. Have you ever tested latency of eventfd vs. pipe/socketpair?
> >
> > Martin
> >
>
> Unless I'm mistaken, the equivalent for Solaris (10+) is event ports:
>
> http://blogs.sun.com/barts/entry/entry_2_event_ports
> http://developers.sun.com/solaris/articles/event_completion.html
You are right. The event completion framework allows a thread to send
an event to another thread within the same process. This functionality
is exposed through port_send(3C) and port_sendn(3C) calls; events
can be collected with port_get(3C) function.
- Martin
>
> --
> Steve-o
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
More information about the zeromq-dev
mailing list