From owner-freebsd-questions Sat Aug 21 6:53:44 1999 Delivered-To: freebsd-questions@freebsd.org Received: from kot.ne.mediaone.net (kot.ne.mediaone.net [24.218.15.190]) by hub.freebsd.org (Postfix) with ESMTP id 73D6C14D06; Sat, 21 Aug 1999 06:53:40 -0700 (PDT) (envelope-from mi@aldan.algebra.com) Received: from guest.newton (guest.newton [10.10.0.3]) by kot.ne.mediaone.net (8.9.3/8.9.1) with ESMTP id JAA75815; Sat, 21 Aug 1999 09:53:40 -0400 (EDT) From: Mikhail Teterin X-Relay-IP: 10.10.0.3 Received: (from mi@localhost) by guest.newton (8.9.3/8.9.1) id JAA77803; Sat, 21 Aug 1999 09:52:47 -0400 (EDT) Message-Id: <199908211352.JAA77803@guest.newton> Subject: kernel threads, cc -kthread To: stable@freebsd.org, questions@freebsd.org Date: Sat, 21 Aug 1999 09:52:46 -0400 (EDT) X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7w hJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" for -stable? The cc's man-page says: -kthread Link a kernel-threaded process against libpthread in addition to libc. Objects linked into kernel- threaded processes should be compiled with -D_THREAD_SAFE. But the practice yields: mi@misha:~/tmp (113) cc -kthread t.c /usr/libexec/elf/ld: cannot open -lpthread: No such file or directory Am I right assuming, kernel-threads may, actually, run in parallel on a multi-CPU machine, while the -pthread ones will not? Thanks! -mi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message