[Live-devel] Re: One (maybe two) little bug in Makefile.tail
Matteo Nastasi
matteo.nastasi at tvblob.com
Thu Apr 1 10:10:57 PST 2004
On Wed, Mar 31, 2004 at 09:19:54AM -0800, Ross Finlayson wrote:
> Matteo,
>
> Thanks for noting the Makefile problem; it has been fixed in the most
> recent release (2004.03.27).
;)
---- 8< ---- 8< ---- 8< ---- 8< ---- 8< ---- 8< ---- 8< ---- 8<
>
> >with this trick the select() return and the check of watchVariable shutdown
> >without delay the thread-live.
>
> But if you *don't* call "write(wr_fd,"w",1);", exactly the same thing will
> happen: When you return to the event loop (see
> "BasicTaskScheduler0::doEventLoop()"), the watch variable will be non-zero,
> and you'll return from the event loop. Creating the 'fd's, and calling
> "turOnBackgroundReadHandling()" adds nothing.
In some cases [when my prog is waiting data from the net (and the network
data streaming is interrupted)] it skip the wait of select timeout,
and make fast the shutdown of the component.
Best regards, Matteo.
>
>
> Ross Finlayson
> LIVE.COM
> <http://www.live.com/>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live.com
> http://lists.live.com/mailman/listinfo/live-devel
>
More information about the live-devel
mailing list