On 04/10/2010 07:00 AM, Andreas Jung wrote: > is it save to use the 'multiprocessing' module inside a BFG app? > In particular I need to maintain a multiprocessing.Pool() instance... > this is working at the first glance however the BFG app won't shutdown > in a clean way when stopped through a keyboard interrupt. The apps > hangs usually inside the following code:
In general, it is not safe to use multiprocessing except at the top level of any application. I would set up the multiple processes before creating the WSGI stack or importing anything from any web framework. Shane _______________________________________________ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev