> "if (env!=NULL)
>       env->taskScheduler().doEventLoop(&done);"
> "done = ~0;

The "doEventLoop()" function does not return *until* the variable "done" is set 
to some non-zero value, so if the value of "done" is zero before you call 
"doEventLoop()", then that call will never return (and so you will never get to 
the statement "done = ~0;").

If you want to leave the event loop (using this method), then you will need to 
set "done = ~0;" either
        - within the event loop (i.e., when you handle a LIVE555 event), or
        - from a different thread.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to