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

Re: [Libevent-users] Is evthread_use_pthreads required for isolated evdns event_bases?



On 6 May 2013, at 00:03, Nick Mathewson <nickm@xxxxxxxxxxxxx> wrote:

> On Fri, May 3, 2013 at 1:12 PM, Joseph Spadavecchia <joseph@xxxxxxxxxxx> wrote:
> [...]
>> My only thought is perhaps the PRNG should be per evdns_base by default.
>> 
>> Oh, and if you could use some help, then I'd be happy to submit a patch.
> 
> A patch would definitely be a good help.  Thank you!

Anytime.  This looks like a fun task.  I should be able to start work on it next week.

> The most important thing to me here would be that the abstraction needs to be
> good; the evdns_base should be holding some kind of "struct
> evutil_secure_random_state", so that it's easier to swap in a better
> backend than arc4random later.
[…]

Sounds good.  Shall I make the PRNG not shared by default, or do you want it the other way around?

Many thanks.
*Joe

***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.