[ECOS] "cyg_hal_invoke_constructors" usage?
sandeep
sandeep@codito.com
Fri Oct 4 02:59:00 GMT 2002
Hi,
Qiang Huang wrote:
> Does anybody know what is the usage of "cyg_hal_invoke_constructors"? If I
> want to implement "cyg_hal_invoke_constructors" how should I implement this
> function?
This function is defined in hal_misc.c for your architechture.
It calls the constructors for the global/static C++ objects in the order they
have been put in the __CTOR_LIST__ list.
The compiler populates this list for you. The entries go there in the order as
governed by the prioroty specified. An example from thread.cxx --
Cyg_IdleThread idle_thread[CYGNUM_KERNEL_CPU_MAX] CYG_INIT_PRIORITY( IDLE_THREAD);
--
regards
sandeep
--------------------------------------------------------------------------
You will lose your present job and have to become a door to door
mayonnaise salesman.
--------------------------------------------------------------------------
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
More information about the Ecos-discuss
mailing list