Article View: comp.programming.threads
Article #2Looking for best design for using pthreads in C++ objects
From: Thom Anderson
Date: Mon, 19 Feb 1996 23:06
Date: Mon, 19 Feb 1996 23:06
21 lines
1479 bytes
1479 bytes
I am starting to port a design that was meant to be implemented in Ada to a
C++/UNIX platform. I don't want to get involved in any language religion here,
but it will be much harder to handle tasking with C++. My best alternative
(maybe only - since I must be POSIX compliant) is to use pthreads.
I have used pthreads from C before but not from C++. I have a couple of ideas
in mind but neither is elegant. Does anyone have any experience with
C++/Pthreads and no of some good design solutions, tips, or ideas???
Thanks!
(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((()
.---. .-----------
/ \ __ / ------
/ / \( )/ -----
////// ' \/ ` --- Thom Anderson
//// / // : : --- phone..(410)721-8183
// / / /` '-- email..anderson@clark.net
// //..\\
----UU----UU--http://www.clark.net/pub/anderson/intro.htm
'//||\\`
''``
Technical Details
Message-ID:
<3128ff8b.666031216@news.clark.net>Path:
arc1-ca.pugleaf.net!news.clark.net!usenetShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.clark.net!usenet From: anderson@clark.net (Thom Anderson) Newsgroups: comp.programming.threads,comp.lang.c++,comp.unix.osf.osf1,comp.unix.programmer,comp.object Subject: Looking for best design for using pthreads in C++ objects Date: Mon, 19 Feb 1996 23:06:13 GMT Organization: Anderson Consulting, Inc. Message-ID: <3128ff8b.666031216@news.clark.net> NNTP-Posting-Host: anderson.clark.net Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit