Search found 1 match

by SlowByte
Tue Jun 03, 2003 10:24 pm
Forum: Feature Requests and Wishlists
Topic: [Implemented] Multiple string buffers?
Replies: 19
Views: 5874

Hi,

You can make the string buffers thread safe by using TLS (Thread Local Storage) that allocates memory that is unique for every thread (so you don't have to implement your own system).
See the function TlsAlloc, TlsSetValue, TlsGetValue and TlsFree in the Win32 API documentation.

By the way ...