Subject: Re: [boost] [interprocess] difference in timed_wait behavior under linux and windows
From: Sergei Politov (spolitov_at_[hidden])
Date: 2008-09-20 03:37:19
On Fri, Sep 19, 2008 at 9:30 PM, Ion Gaztañaga <igaztanaga_at_[hidden]> wrote:
> Thanks for the report. I just didn't know pos_infin was there. I would need
> to call non-timed versions when pos_infin is used. That would be correct,
> wouldn't it?
Yep, I did it in the same way.
There is one more thing, I want to discuss.
I have done some performance tests of my "stream transporter" class that
uses shared_memory, interprocess_condition, interprocess_mutex.
And windows version was 2.5 times faster than linux.
When I turned linux version to BOOST_INTERPROCESS_USE_GENERIC_EMULATION it
produced the same speed.
The problem is that I had to edit boost header files to do so.
I think it would be nice to add ability to do it "externally".
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk