You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apparently the Cygwin platform is not supported as compiling ctx.c results in:
CC libdill_la-stack.lo
CC libdill_la-ctx.lo
ctx.c:102:2: error: #error "Cannot determine which thread is the main thread."
#error "Cannot determine which thread is the main thread."
^~~~~
ctx.c: In function ‘dill_ctx_term’:
ctx.c:123:8: warning: implicit declaration of function ‘dill_ismain’; did you mean ‘dill_clean’? [-Wimplicit-function-declaration]
if(dill_ismain()) dill_main = NULL;
^~~~~~~~~~~
dill_clean
make[1]: *** [Makefile:1729: libdill_la-ctx.lo] Error 1
Is there any workaround for this? Some research brought up the function pthread_equal() as the portable way to compare thread IDs. Of course, this would mean that some initialisation is required to make sure the ID of the main thread is stored.
(For the moment my naïve workaround to use pthread_self() as with the __sun case works for my current very limited use case, connecting programs via TCP.)
The text was updated successfully, but these errors were encountered:
Apparently the Cygwin platform is not supported as compiling ctx.c results in:
CC libdill_la-stack.lo
CC libdill_la-ctx.lo
ctx.c:102:2: error: #error "Cannot determine which thread is the main thread."
#error "Cannot determine which thread is the main thread."
^~~~~
ctx.c: In function ‘dill_ctx_term’:
ctx.c:123:8: warning: implicit declaration of function ‘dill_ismain’; did you mean ‘dill_clean’? [-Wimplicit-function-declaration]
if(dill_ismain()) dill_main = NULL;
^~~~~~~~~~~
dill_clean
make[1]: *** [Makefile:1729: libdill_la-ctx.lo] Error 1
Is there any workaround for this? Some research brought up the function pthread_equal() as the portable way to compare thread IDs. Of course, this would mean that some initialisation is required to make sure the ID of the main thread is stored.
(For the moment my naïve workaround to use pthread_self() as with the __sun case works for my current very limited use case, connecting programs via TCP.)
The text was updated successfully, but these errors were encountered: