Differences From Artifact [01a5f7adde]:
- File src/platform/posix/tlskey.m — part of check-in [109db78ecd] at 2020-02-29 14:49:23 on branch trunk — Move platform specific files into a subdirectory (user: js, size: 823) [annotate] [blame] [check-ins using] [more...]
To Artifact [b21f6b68b0]:
- File
src/platform/posix/tlskey.m
— part of check-in
[5b37fbeb82]
at
2020-12-20 21:26:08
on branch trunk
— Return error instead of using errno for threading
errno is problematic for Amiga libraries and is also not thread-safe on
some systems, even though it should. (user: js, size: 807) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
15 16 17 18 19 20 21 | * file. */ #include "config.h" #import "tlskey.h" | < > | < > | | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | * file. */ #include "config.h" #import "tlskey.h" int of_tlskey_new(of_tlskey_t *key) { return pthread_key_create(key, NULL); } int of_tlskey_free(of_tlskey_t key) { return pthread_key_delete(key); } |