From owner-freebsd-questions Mon Sep 2 2: 1:58 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A2FCA37B400 for ; Mon, 2 Sep 2002 02:01:56 -0700 (PDT) Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3567743E65 for ; Mon, 2 Sep 2002 02:01:56 -0700 (PDT) (envelope-from edwin@mavetju.org) Received: from k7.mavetju (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id DB78D2B739; Mon, 2 Sep 2002 11:01:52 +0200 (CEST) Received: by k7.mavetju (Postfix, from userid 1001) id 6620B6A7124; Mon, 2 Sep 2002 19:01:45 +1000 (EST) Date: Mon, 2 Sep 2002 19:01:45 +1000 From: Edwin Groothuis To: Pascal Giannakakis Cc: freebsd-questions@freebsd.org Subject: Re: Threads in FreeBSD and C++ Message-ID: <20020902090145.GW785@k7.mavetju> Mail-Followup-To: Edwin Groothuis , Pascal Giannakakis , freebsd-questions@freebsd.org References: <12856.1030956729@www54.gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <12856.1030956729@www54.gmx.net> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Sep 02, 2002 at 10:52:09AM +0200, Pascal Giannakakis wrote: > i'm coming from a Java background and want to write some C++ code for > FreeBSD, just > for fun. In some C++ tuts, it says there is no multithreading on unices. > Does this > apply to FreeBSD? I think i've read something in the handbook where a > multithread-option in the kernel is mentioned. POSIX threads are available, see the pthread(3) manpage for it. There is a tutorial for it available at this website: http://www.uq.edu.au/~cmamuys/humbug/talks/pthreads/pthreads.html (just click proceed) Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Weblog: http://www.mavetju.org/weblog/weblog.php bash$ :(){ :|:&};: | Interested in MUDs? http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message