Wireshark mailing list archives

Re: Val_to_str as a macro


From: Dirk Jagdmann <doj () cubic org>
Date: Wed, 11 Dec 2013 18:55:36 -0800

the original function. I can use a single temp global, but that's just
ugly and won't work if we ever do multithreading.

It may be ugly, but using thread local storage for that global variable will make it safe for multi-threading.

--
---> Dirk Jagdmann
----> http://cubic.org/~doj
-----> http://llg.cubic.org
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: