Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Aug 1999 09:52:46 -0400 (EDT)
From:      Mikhail Teterin <mi@aldan.algebra.com>
To:        stable@freebsd.org, questions@freebsd.org
Subject:   kernel threads, cc -kthread
Message-ID:  <199908211352.JAA77803@guest.newton>

next in thread | raw e-mail | index | archive | help
Hello! What is the status of the <subj> 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-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908211352.JAA77803>