This library contains code that extends and simplifies different operations
for C language based programs.
Revisión | 4d9c05ed0b2b5eb3d43e39882443fe568a1e3450 (tree) |
---|---|
Tiempo | 2022-08-30 07:59:36 |
Autor | Sergey Gusarov <laborer2008@gmai...> |
Commiter | Sergey Gusarov |
Fixed android NDK compile error
@@ -65,7 +65,15 @@ | ||
65 | 65 | |
66 | 66 | |
67 | 67 | # define CT_THREAD_AVAILABLE |
68 | -# define CT_KILL_THREAD_AVAILABLE | |
68 | + | |
69 | +/* | |
70 | + * https://android.googlesource.com/platform/bionic/+/master/docs/status.md | |
71 | + * Thread cancellation (pthread_cancel). Unlikely to ever be implemented because of the difficulty | |
72 | + * and cost of implementing it, and the difficulty of using it correctly | |
73 | + */ | |
74 | +# if !defined(CT_OS_ANDROID) | |
75 | +# define CT_KILL_THREAD_AVAILABLE | |
76 | +# endif | |
69 | 77 | |
70 | 78 | CT_BEGIN_NAMESPACE |
71 | 79 |