[zeromq-dev] zmq::poll timeout returns immediately on MacOS/X 10.5

Steven McCoy steven.mccoy at miru.hk
Fri Jun 11 09:51:53 CEST 2010


On 11 June 2010 15:46, Martin Sustrik <sustrik at 250bpm.com> wrote:

> Steven,
>
> >  With Nehalem you should be using gettimeofday() as it's now using
> > rdtscp which apparently solves world hunger according the LKML.  On
> > SPARC, RS6000, PA-RISC gettimeofday() is already light so the only issue
> > would appear to be older x86 platforms and possibly the embedded range
> > which performance is kind of moot anyway.
>
> Any benchmarks you are aware of?
>
>
Here's the article,

http://lwn.net/Articles/388188/

 <http://lwn.net/Articles/388188/>They talk about masking out RDTSC out of
user space which would mean you can only use gettimeofday(), etc.

-- 
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100611/f48f9f2a/attachment.html>


More information about the zeromq-dev mailing list