mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-23 04:52:42 -08:00
ecl_thread_internal_error: provide hint what may go wrong
This commit is contained in:
parent
3c4e1541e5
commit
a095f6a4ee
1 changed files with 3 additions and 0 deletions
|
|
@ -71,6 +71,9 @@ ecl_thread_internal_error(const char *s)
|
|||
fprintf(stderr, " [%d: %s]\n", saved_errno,
|
||||
strerror(saved_errno));
|
||||
}
|
||||
fprintf(stderr,
|
||||
"\nDid you forget to call `ecl_import_current_thread'?\n"
|
||||
"Exitting thread.\n");
|
||||
fflush(stderr);
|
||||
#ifdef ECL_WINDOWS_THREADS
|
||||
ExitThread(0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue