fwiw, uwsgi has a `post_fork_hook` that might be useful for you.

in order to use pycrypto on uswgi , you have to do something like this in 
pyramid:
 

>         import uwsgi
>         from Crypto.Random import atfork
>         def post_fork_hook():
>             atfork()
>         uwsgi.post_fork_hook = post_fork_hook
>

atfork() just proxies a call to "_UserFriendlyRNG.reinit()"  [ see 
https://github.com/dlitz/pycrypto/blob/master/lib/Crypto/Random/_UserFriendlyRNG.py
 
 ]

>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pylons-discuss+unsubscr...@googlegroups.com.
To post to this group, send email to pylons-discuss@googlegroups.com.
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to