[Live-devel] SingleStep fails : bad file descriptor

Justin Goldwing mx886 at hotmail.com
Tue Jul 20 19:50:16 PDT 2004


Hi

I implemented a MPEG1or2VideoStreamer in a thread, and make sure that the 
thread had its own UsageEnvironment and TaskScheduler objects (encapsulated 
them in the thread object) as specified by the FAQ. When running in single 
thread, the program runs correctly (in fact, I used the 
testMPEG1or2VideoStreamer!). But when used in thread, the SingleStep() 
function makes my app exits. errno tells me that Select() fails due to a bad 
file descriptor, but the code is the exact same code as when using in single 
thread. Any one has an idea ?!

thx!

_________________________________________________________________
Take advantage of powerful junk e-mail filters built on patented Microsoft® 
SmartScreen Technology. 
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines 
  Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.



More information about the live-devel mailing list