[PATCH] msvcrt: Use InitOnceExecuteOnce to allocate TLS index.
Feb. 2, 2022
6:48 p.m.
Signed-off-by: Piotr Caban <piotr(a)codeweavers.com> --- dlls/msvcrt/concurrency.c | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-)
February 2022
9:12 p.m.
What's the point of doing it this way, instead of the way it was previously done?
9:31 p.m.
On 2 Feb 2022, at 22:12, Zebediah Figura <zfigura(a)codeweavers.com> wrote:
What's the point of doing it this way, instead of the way it was previously done?
The main reason for this patch is to avoid casts after LONG transition. It also fixes a hypothetical race error when there’s only one slot left.
1515
Age (days ago)
1515
Last active (days ago)
2 comments
3 participants
participants (3)
-
Piotr Caban -
Piotr Caban -
Zebediah Figura