|
From: | Michael Dickens |
Subject: | [Discuss-gnuradio] Creating a New Thread? |
Date: | Fri, 6 Jan 2006 08:22:07 -0500 |
The problem is in doing the USB callback under OSX at the - application- level, there seems to be no way to do it without blocking (via the run loop). There are other ways at lower levels, but those are -kernel- things, which really should be kept to kext's and such (and don't compile without easily in an application for whatever reason). So my thought is that, since the run loop is be applied to the whole application and all it's threads, to create a new thread to run the loop, thus freeing up both the "read", "write", and OSX callbacks from having to deal with this blocking.
It's worth noting that the LIBUSB folks are working on getting async and isoch data transport implemented in a more robust fashion ... but who knows when that will be released? - MLD
[Prev in Thread] | Current Thread | [Next in Thread] |