[PATCH] msvcrt: Use InitOnceExecuteOnce to allocate TLS index.
Feb. 2, 2022
12:48 p.m.
Signed-off-by: Piotr Caban <piotr(a)codeweavers.com> --- dlls/msvcrt/concurrency.c | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-)
Feb. 2, 2022
3:12 p.m.
What's the point of doing it this way, instead of the way it was previously done?
3: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.
1693
Age (days ago)
1693
Last active (days ago)
2 comments
3 participants
participants (3)
-
Piotr Caban -
Piotr Caban -
Zebediah Figura