Re: Is fork() hook ever possible?



On Tue, Sep 16, 2008 at 01:21:37PM -0400, Daniel Eischen wrote:
Could you add a new interface, arc4random_setstir() or something,
to set a flag that indicates a stir should be done at the next
opportunity?

That was my original idea - to set the flag variable (not a new inteface)
in the fork() wrapper which arc4random() will check later. I'll think
about, what is better: getpid() speedup looks like more general solution
for all similar cases while the flag will be for arc4random() only.

--
http://ache.pp.ru/
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Updating installed modules?
    ... Thanks - it did the trick. ... Is there a 'flag' I can use to accept all the ... although this cancels installation if it's waiting ... Could there be a general solution? ...
    (comp.lang.perl.modules)
  • Re: Qs on CLEARTYPE_QUALITY
    ... the CLEARTYPE_QUALITY flag has no effect on ... The general solution for this sort of problem is to call GetVersionEx at ... just don't do it for printer DCs. ...
    (microsoft.public.win32.programmer.gdi)
  • Re: Drake: Distributed Rake
    ... you are proposing a flag which will make them different. ... a million ways to make a mistake with the dependency graph. ... will continue to operate on the principle of garbage-in, ... It seems to me the general solution is to not use -j until you've got ...
    (comp.lang.ruby)