[ECOS] A problem about constructor sequence

Jonathan Larmour jifl@eCosCentric.com
Mon Sep 10 09:54:00 GMT 2007

Andrew Lunn wrote:
> static cyg_libc_startup_dummy_constructor_class cyg_libc_startup_obj
>                                    CYGBLD_ATTRIB_INIT_AFTER(CYG_INIT_LIBC)
> I don't see how this can break anything. The scheduler is disabled at
> this point anyway. The the resume call just marks the thread as
> runable, but it won't get run until a lot later.
> Jifl: Is this O.K?

I think this is absolutely fine.

eCosCentric Limited      http://www.eCosCentric.com/     The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK.       Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["The best things in life aren't things."]------      Opinions==mine

Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

More information about the Ecos-discuss mailing list