This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: threads in C++
- To: dvv at dvv dot org, jlarmour at cygnus dot co dot uk
- Subject: Re: threads in C++
- From: Mike Stump <mrs at windriver dot com>
- Date: Mon, 15 Nov 1999 15:11:59 -0800 (PST)
- Cc: gcc at gcc dot gnu dot org
> Date: Mon, 15 Nov 1999 12:14:22 -0500
> From: Dima Volodin <dvv@dvv.org>
> > 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.
> POSIX doesn't say you can use a "static member function", ergo you
> can not. If the trick works for g++, it doesn't mean it will work
> for any other compiler.
They also don't say that you can do with with functions named foo, but
guess what, you can. Or let me put this another way, C++ guarantees
that this can be done.