Feature request: ability to use libeio with multiple event loops

Brandon Black blblack at gmail.com
Tue Jan 3 14:48:19 CET 2012


On Tue, Jan 3, 2012 at 5:02 AM, Yaroslav <yarosla at gmail.com> wrote:
>
> Interesting observation: removing __thread storage class makes thread data
> shared by all threads. Even without any locks concurrent modifications of
> the same memory area result in 5-10 fold test time increase. I.e., shared
> variable write is about 5-10 times slower than non-shared even without any
> locks.
>

I assume you mean concurrent writes of course.  Implicitly shared memory
between threads should have regular access time when there's no false
sharing with other threads writing to nearby memory.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schmorp.de/pipermail/libev/attachments/20120103/057a613d/attachment.html>


More information about the libev mailing list