From owner-freebsd-threads@FreeBSD.ORG Mon Nov 7 11:57:44 2005 Return-Path: X-Original-To: freebsd-threads@freebsd.org Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B99216A41F for ; Mon, 7 Nov 2005 11:57:44 +0000 (GMT) (envelope-from s_sourceforge@nedprod.com) Received: from porthos.st-andrews.ac.uk (porthos.st-and.ac.uk [138.251.66.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DECC43D49 for ; Mon, 7 Nov 2005 11:57:42 +0000 (GMT) (envelope-from s_sourceforge@nedprod.com) Received: from kate (res05-ned6.res.st-and.ac.uk [138.251.224.28]) by porthos.st-andrews.ac.uk (8.12.9/8.12.9) with SMTP id jA7BvIKa008031; Mon, 7 Nov 2005 11:57:22 GMT From: "Niall Douglas" To: freebsd-threads@freebsd.org Date: Mon, 07 Nov 2005 11:57:13 -0000 MIME-Version: 1.0 Message-ID: <436F4119.5345.92723A0@localhost> Priority: normal In-reply-to: <20051107.lED.26049900@entw-pr> References: <200511061918.00437.nb_root@videotron.ca> X-mailer: Pegasus Mail for Windows (4.21c) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-StAndrews-MailScanner-Information: Please contact the ISP for more information X-StAndrews-MailScanner: No virus detected X-StAndrews-MailScanner-SpamCheck: not spam, SpamAssassin (score=0, required 5, autolearn=not spam) X-StAndrews-MailScanner-From: s_sourceforge@nedprod.com Cc: Subject: Re: c++ with pthread? X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Nov 2005 11:57:44 -0000 On 7 Nov 2005 at 8:10, Norbert Koch wrote: > Hi. > If you want to have classes with threads, I suggest > you try the port devel/commoncpp. It is a portable > c++ library for multi-threading. From my experience > it works fine. You could also try a free GUI toolkit. My own, TnFOX (http://www.nedprod.com/TnFOX) can be built so that all the GUI stuff is left out and you have just the system interface stuff. FXThreadLocalStorage provides TLS, FXMutex is a highly optimised hand written recursive mutex and FXThread provides a high level portable thread implementation with cancellation facilities. The documentation is at http://tnfox.sourceforge.net/TnFOX/html/ It's all regularly tested on FreeBSD. Cheers, Niall