This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: cyg_create_thread question
- From: Andrew Lunn <andrew at lunn dot ch>
- To: stephan at macs dot ece dot mcgill dot ca
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Fri, 29 Oct 2004 12:06:17 +0200
- Subject: Re: [ECOS] cyg_create_thread question
- References: <200410290600.19593.stephan.bourduas@videotron.ca>
On Fri, Oct 29, 2004 at 06:00:19AM -0400, Stephan Bourduas wrote:
> This is more of a C/C++ question. Can someone tell me
> exactly what "new((void *)thread)" thread does? The code
> is taken from kapi.cxx.
The normal usage of new is that it allocated the memory for the object
on the heap. This usage you pass the memory for the object to new.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss