<html><head><base href="x-msg://11108/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Matthias,<div><br></div><div>Thanks for the note.  You've correctly identified a potential race condition caused by "triggerEvent()" being called by a non-LIVE555 thread.  I've now installed a new version (2012.06.17) that should avoid this problem.  The solution was to no longer have the "triggerEvent()" function (the only function that can be called from a non-LIVE555 thread) access (read or write) the "<span class="Apple-style-span" style="font-family: Calibri; ">fLastUsedTriggerMask" or "fLastUsedTriggerNum" variables.  (The function still accesses (writes) the "</span><span class="Apple-style-span" style="font-family: Calibri; ">fTriggeredEventClientDatas" and "</span><span class="Apple-style-span" style="font-family: Calibri; ">fTriggersAwaitHandling" variables, but not in a way that can cause a race condition.  (This is assuming, of course, that different threads never call "triggerEvent()" with the same "eventTriggerId").)</span></div><br><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/">http://www.live555.com/</a></span></span>
</div>
<br></body></html>