This is the mail archive of the
mailing list for the GCC project.
Re: threads in C++
- To: dvv at dvv dot ru
- Subject: Re: threads in C++
- From: jlarmour at cygnus dot co dot uk (Jonathan Larmour)
- Date: Mon, 15 Nov 1999 17:02:19 GMT
- Cc: gcc at gcc dot gnu dot org
- Newsgroups: cygnus.egcs
- Organization: Cygnus Solutions Ltd, UK
- References: <email@example.com>
In article <382f1edb.37731544@busybee> you write:
>On Sat, 13 Nov 1999 15:01:31 PST, you wrote:
>>I would like to use a C++ class member function as the starting point for a
>You cannot. The starting function must be
>extern "C" void* your_function_name_here (void*);
Not necessarily. You could use a static member function. But if you need
to get at object data, you'll have to get that passed in explicitly.
But this is nothing to do with g++ specifically, so if "Rich" has any more
questions with respect to this, he should ask them in comp.lang.c++ for a
more appropriate response.