Queue and signals

hg hg at nospam.org
Tue Jan 16 16:47:50 CET 2007


hg wrote:

> Hi,
> 
> Is it legal to use Queue.put in a signal handle and Queue.get in the main
> process (no thread)
> 
> Thanks,
> 
> hg


PS: and if not is there a way to share data between a "main" and its signal
in a safe way (write in signal and read in main)

Thanks,

hg




More information about the Python-list mailing list