[Live-devel] use of volatile in doEventLoop for interthread synchronization

Ross Finlayson finlayson at live555.com
Thu Aug 1 10:01:27 PDT 2024


Yes, in a future version of the code, I’ll change the signature of “doEventLoop()” to make “watchVariable” a “std:atomic_char*” rather than a "char volatile*”.  (As with the recent changes to “fTriggersAwaitingHandling”, this will be #ifdef’d for those who don’t have (or don’t want to use) the C++ std library.)


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




More information about the live-devel mailing list