Date: Fri, 24 Mar 2000 15:05:37 -0800 (PST) From: Nate Lawson <nate@elite.net> To: freebsd-questions@freebsd.org Subject: pthreads, linuxthreads, and rfork Message-ID: <Pine.BSD.3.91.1000324144241.28260E@almond.elite.net>
next in thread | raw e-mail | index | archive | help
I read the mailing list archives and am trying to find a set of guidelines for using threads on FreeBSD (4.0-RELEASE for me). User-mode: 0. No installation; included with base OS. 1. #include <pthread.h> 2. Compile with -pthread Kernel-mode: 0. Install linuxthreads package. 1. Rebuild kvm, ps, etc? 2. #include <linuxthreads/pthread.h> 3. Compile with -L /usr/local/lib -llthread -llgcc_r (?) Perhaps someone could answer this question and I could write a short tutorial/handbook entry. Thanks, -Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSD.3.91.1000324144241.28260E>