2010.06.17 15:39 "[Tiff] libtiff 4 API/ABI stability?", by Adam Goode

2010.06.18 01:45 "Re: [Tiff] libtiff 4 API/ABI stability?", by Adam Goode

On 06/17/2010 08:33 PM, Adam Goode wrote:

You don't need TSD to scale. Just have mostly immutable structures that you lock when you write to or pass to a different thread. Then everything can work fine.

Actually, to clarify a little: I mean here that libtiff shouldn't concern itself with threads, but allow the user to pass in everything needed and treat those structures as immutable. Then a user can pass this structure around to different threads (using proper locking and barriers) without worrying that it will change. This is more in the realm of thread safety #2 as I listed before.