blocking

Handle a blocking function call in Python

Hi! I'm working with the Gnuradio framework. I handle flowgraphs I generate to send/receive signals. These flowgraphs initialize and start, but they don't return the control flow to my application: I imported time while time.time() < endtime: # invoke GRC flowgraph for 1st sequence if not seq1_sent: tb = se...

OpenCV 'cvQueryFrame' non-blocking on OS X?

Hello, when I perform a cvQueryFrame on Windows, the API blocks until an image is delivered. On Mac OS X, I am at 100% CPU utilization, while only querying for an image and displaying it in a window. I am at the latest SVN version. Can anyone confirm my experience? Am I doing something wrong? Is there a work-around? My loop code looks ...