[Live-devel] OutPacketBuffer::maxsize and multithreading

Ross Finlayson finlayson at live555.com
Wed May 23 03:53:56 PDT 2012


On May 21, 2012, at 8:00 PM, PROMONET Michel wrote:

> We have make a try using thread local storage that is quite simple.
> Adding "__thread" before OutPacketBuffer::maxSize declaration and definition give a different variable for each threads.
>  
> Do you think this fix is acceptable ?

No, because likely not every person's C++ compiler supports "__thread".

As I noted before, the solution (to be included in some future release) will make the "OutPacketBuffer::maxSize" variable a per-UsageEnvironment value.


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/20120523/15136c5f/attachment.html>


More information about the live-devel mailing list