From owner-freebsd-questions Sun Dec 7 14:20:30 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA27730 for questions-outgoing; Sun, 7 Dec 1997 14:20:30 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA27723 for ; Sun, 7 Dec 1997 14:20:24 -0800 (PST) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id OAA24657; Sun, 7 Dec 1997 14:16:56 -0800 (PST) Received: from UNKNOWN(), claiming to be "current1.whistle.com" via SMTP by alpo.whistle.com, id smtpd024655; Sun Dec 7 14:16:50 1997 Date: Sun, 7 Dec 1997 14:14:23 -0800 (PST) From: Julian Elischer To: TOKER ONUR cc: freebsd-questions@FreeBSD.ORG Subject: Re: user level posix threads ... In-Reply-To: <199712070533.IAA36576@dpc107.dpc.kfupm.edu.sa> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk FreeBSD has a built-in user-level posix thread (well, it's pretty close) interface you need to make sure it's build. it 's called libc_r so you link with -lc_r also use the #define THREAD_SAFE in your program to get the correct definitions from the include files. if you don't have a libc_r.a or libc_r.so, then you need to build it from the sources.. it's built by default in 3.0 but U think you need to go to /usr/src/lib/libc_r and type 'make' and 'make install' on 2.2.2 I'm not sure what is needed in 2.2.5 to see if you have it installed. do man pthread_create julian On Sun, 7 Dec 1997, TOKER ONUR wrote: > > Hello, > > I am trying to find a user level posix threads implementation for > FreeBSD. I want to see how this can be done in the user level, without > kernel interaction. If you know any pointers for user level posix threads > implementation, please let me know. > > Thanks, > > Onur >