X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Flinux-os.c;h=669ae7cbf589df60d20f0cc0ac2534e598e0e418;hb=10adbe19b88bf9d4fe65ad67f6de0fd065af87ff;hp=077f44149395a1c599a59044f04fbeb9311fa238;hpb=428b60fff4247e34ff601810f33976908f22bbc0;p=sbcl.git diff --git a/src/runtime/linux-os.c b/src/runtime/linux-os.c index 077f441..669ae7c 100644 --- a/src/runtime/linux-os.c +++ b/src/runtime/linux-os.c @@ -73,6 +73,7 @@ _syscall4(int,sys_futex, #include "gc.h" int linux_sparc_siginfo_bug = 0; +int linux_no_threads_p = 0; void os_init(void) { @@ -100,9 +101,9 @@ void os_init(void) } #ifdef LISP_FEATURE_SB_THREAD futex_wait(futex,-1); - if(errno==ENOSYS) { - lose("linux with NPTL support (e.g. kernel 2.6 or newer) required for thread-enabled SBCL"); - } + if(errno==ENOSYS) linux_no_threads_p = 1; + if(linux_no_threads_p) + fprintf(stderr,"Linux with NPTL support (e.g. kernel 2.6 or newer) required for \nthread-enabled SBCL. Disabling thread support.\n\n"); #endif os_vm_page_size = getpagesize(); }