[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-dev] Parallel Crypto - Library dep.



On Tue, Jan 31, 2012 at 8:49 PM, David Goulet <dgoulet@xxxxxxxxx> wrote:
[...]
> So going for a wait-free queue and a normal locked queue, it's not that
> difficult (in terms of APIs/ABIs handling) but the question I think is do we
> want first to do a "normal locking queue" in the tor code tree and than go for a
> lockless from a external lib with a compat layer between lock and lockless ?
>
> Personally, I think we should go straight for one type of data structure and
> make sure we create a decent compat layer on top to be able to switch from one
> technology to an other easily.
>
> Does it makes sense to you?

I think that makes sense, if I understand you correctly.  If what we
need is a work queue, for example, I don't much care what the initial
implementation is, so long as it is easy to add others.

yrs,
-- 
Nick
_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev