<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
 --></style><title>Re: [Live-devel] New TaskScheduler 'event trigger'
mechani</title></head><body>
<blockquote type="cite" cite>Hi,Ross,<br>
    I'm doubting this piece of code works
correctly.<br>
void BasicTaskScheduler0::triggerEvent(EventTriggerId eventTriggerId,
void* clientData) {<br>
  // First, record the "clientData":<br>
  if (eventTriggerId == fLastUsedTriggerMask) { // common-case
optimization:<br>
    fTriggeredEventClientDatas[<b>eventTriggerId</b>] =
clientData; // here not use<b> fLastUsedTriggerNum</b>???</blockquote>
<div><br></div>
<div>Oops - you're right!  Thanks for noticing this.</div>
<div><br></div>
<div>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.</div>
<x-sigsep><pre>-- 
</pre></x-sigsep>
<div><br>
Ross Finlayson<br>
Live Networks, Inc.<br>
http://www.live555.com/</div>
</body>
</html>