From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10ba33,37831c95f62a1c14 X-Google-Attributes: gid10ba33,public X-Google-Thread: fee84,37831c95f62a1c14 X-Google-Attributes: gidfee84,public X-Google-Thread: ffc1e,37831c95f62a1c14 X-Google-Attributes: gidffc1e,public From: schmidt@tango.cs.wustl.edu (Douglas C. Schmidt) Subject: Re: c++ & pthreads: oil and water ? Date: 1997/11/12 Message-ID: <64dfaa$sm2@tango.cs.wustl.edu>#1/1 X-Deja-AN: 289045260 References: <3469D2DB.58D695B9@texas.net> Organization: Computer Science Department, Washington University. Newsgroups: comp.programming.threads,gnu.g++.help,comp.unix.osf.osf1 In article <3469D2DB.58D695B9@texas.net>, wrote: ++ Greetings, ++ ++ How does a program integrate Posix threads and C++? It would be a major ++ impasse for one to ++ preclude the use of the other.... but C++ is allergic to void * which ++ pthread_create() uses ++ for 2 arguments. This is a FAQ. I recommend that you check out http://www.cs.wustl.edu/~schmidt/ACE-concurrency.ps.gz for information on how we do this in ACE. You can get the C++ source code for this solution at http://www.cs.wustl.edu/~schmidt/ACE-obtain.html Doug -- Dr. Douglas C. Schmidt (schmidt@cs.wustl.edu) Department of Computer Science, Washington University St. Louis, MO 63130. Work #: (314) 935-4215; FAX #: (314) 935-7302 http://www.cs.wustl.edu/~schmidt/