From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,870f39ca0a91dafa,start X-Google-Attributes: gid109fba,public X-Google-Thread: fee84,870f39ca0a91dafa,start X-Google-Attributes: gidfee84,public X-Google-Thread: ffc1e,870f39ca0a91dafa,start X-Google-Attributes: gidffc1e,public X-Google-Thread: fc89c,870f39ca0a91dafa,start X-Google-Attributes: gidfc89c,public X-Google-Thread: 1108a1,870f39ca0a91dafa,start X-Google-Attributes: gid1108a1,public From: anderson@clark.net (Thom Anderson) Subject: Looking for best design for using pthreads in C++ objects Date: 1996/02/19 Message-ID: <3128ff8b.666031216@news.clark.net>#1/1 X-Deja-AN: 140209829 content-type: TEXT/PLAIN; charset=ISO-8859-1 organization: Anderson Consulting, Inc. mime-version: 1.0 newsgroups: comp.programming.threads,comp.lang.c++,comp.unix.osf.osf1,comp.unix.programmer,comp.object 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 '//||\\` ''``