$NetBSD: patch-aw,v 1.1 2004/02/19 04:49:40 ben Exp $ --- widgets.cpp.orig 2003-02-25 19:24:01.000000000 -0800 +++ widgets.cpp @@ -1631,7 +1631,7 @@ extern "C" void FL_run(FLRUN *p) pthread_t thread1; // IV - Aug 27 2002: widget thread is always run with normal priority pthread_attr_init(&a); -#ifdef LINUX +#if defined(LINUX) && !defined(BSD) pthread_attr_setschedpolicy(&a, SCHED_OTHER); pthread_attr_setinheritsched(&a, PTHREAD_EXPLICIT_SCHED); #endif