Re: Interrupting a blocking function frolm another thread.

2012-04-09 Thread superhac007
On Monday, April 9, 2012 9:39:54 AM UTC-5, super...@gmail.com wrote: > On Apr 8, 8:09 pm, Adam Skutt wrote: > > On Apr 8, 5:52 pm, superhac...@gmail.com wrote: > > > > > > > > > > > > > > > > > > > > > On Sunday, April 8, 2012 3:55:41 PM UTC-5, Adam Skutt wrote: > > > > On Apr 8, 2:45 pm, "superha

Re: Interrupting a blocking function frolm another thread.

2012-04-09 Thread superhac...@gmail.com
On Apr 8, 8:09 pm, Adam Skutt wrote: > On Apr 8, 5:52 pm, superhac...@gmail.com wrote: > > > > > > > > > > > On Sunday, April 8, 2012 3:55:41 PM UTC-5, Adam Skutt wrote: > > > On Apr 8, 2:45 pm, "superhac...@gmail.com" > > > wrote: > > > > I am using the python module nfqueue-bindings which is a

Re: Interrupting a blocking function frolm another thread.

2012-04-08 Thread Adam Skutt
On Apr 8, 5:52 pm, superhac...@gmail.com wrote: > On Sunday, April 8, 2012 3:55:41 PM UTC-5, Adam Skutt wrote: > > On Apr 8, 2:45 pm, "superhac...@gmail.com" > > wrote: > > > I am using the python module nfqueue-bindings which is a nfqueue > > > packet intercepting module.  It uses the following s

Re: Interrupting a blocking function frolm another thread.

2012-04-08 Thread superhac007
On Sunday, April 8, 2012 3:55:41 PM UTC-5, Adam Skutt wrote: > On Apr 8, 2:45 pm, "superhac...@gmail.com" > wrote: > > I am using the python module nfqueue-bindings which is a nfqueue > > packet intercepting module.  It uses the following snippet of code to > > start the process: > > > > print "tr

Re: Interrupting a blocking function frolm another thread.

2012-04-08 Thread Adam Skutt
On Apr 8, 2:45 pm, "superhac...@gmail.com" wrote: > I am using the python module nfqueue-bindings which is a nfqueue > packet intercepting module.  It uses the following snippet of code to > start the process: > > print "trying to run" > try: >      q.try_run() >      except KeyboardInterrupt, e: