30 Apr
2015
30 Apr
'15
12:25 p.m.
On Thursday 30 April 2015 14:06:15 Fu ji wrote:
There is a difference beetwen boost tls and tls from win api in this case ?
Boost.Thread TLS is based on the underlying OS API for TLS but it is not compatible. One essential point of difference is that Boost.Thread TLS identifies the pointer by its address (this is why duplicating the pointer breaks your case) while Windows TLS provides a key which can be copied.