Le 11/10/12 9:28 AM, Julien Vermillard a écrit :
> hmm I think the queue sync was added (by you?) because even if it's a
> conncurent queue, the write registration could fail if a thead write in
>  the queue while the selector loop write it.

That's possible I added the lock, I don't reember, but sounds like I
could have been that paranoiac ;). However, there is no reason for the
selector to write in the queue. My understanding is that the
ConcurrentQueue is fully thread safe, so you can still read and write
data fromm it safely.

Have I missed something ?


-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com 

Reply via email to