Re: Queue and signals

2007-01-16 Thread hg
[EMAIL PROTECTED] wrote: > > >> Is it legal to use Queue.put in a signal handle and Queue.get in > >> the main process (no thread) > > hg> PS: and if not is there a way to share data between a "main" and > its hg> signal in a safe way (write in signal and read in main) > > The Q

Re: Queue and signals

2007-01-16 Thread skip
>> Is it legal to use Queue.put in a signal handle and Queue.get in the >> main process (no thread) hg> PS: and if not is there a way to share data between a "main" and its hg> signal in a safe way (write in signal and read in main) The Queue module was designed to work in multit

Re: Queue and signals

2007-01-16 Thread hg
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 -- http://mail.pyt

Queue and signals

2007-01-16 Thread hg
Hi, Is it legal to use Queue.put in a signal handle and Queue.get in the main process (no thread) Thanks, hg -- http://mail.python.org/mailman/listinfo/python-list