[Live-devel] New TaskScheduler 'event trigger' mechanism, and (much) improved "DeviceSource"
Ross Finlayson
finlayson at live555.com
Mon Dec 13 20:41:31 PST 2010
>Hi,Ross,
> I'm doubting this piece of code works correctly.
>void BasicTaskScheduler0::triggerEvent(EventTriggerId
>eventTriggerId, void* clientData) {
> // First, record the "clientData":
> if (eventTriggerId == fLastUsedTriggerMask) { // common-case optimization:
> fTriggeredEventClientDatas[eventTriggerId] = clientData; // here
>not use fLastUsedTriggerNum???
Oops - you're right! Thanks for noticing this.
I have installed a new version (2010.12.14) that fixes this. If you
plan to use the new 'event trigger' mechanism, then you must use this
new version.
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20101213/8870f8de/attachment.html>
More information about the live-devel
mailing list