[ECOS] Couple of porting questions
Andrew Hannam
andrewh@inmarket.com.au
Tue Jun 24 15:05:00 GMT 2014
I am currently porting the uGFX LCD graphics library to eCos and have a few
questions.
1/ Is there any method of detecting from a thread handle whether the thread
that handle refers to is still runnable ie. hasn't exited or been killed?
2/ Is there any way of detecting if cyg_scheduler_start() has already been
called or, is it safe to call it multiple times with no side effects or, can
it be assumed that cyg_scheduler_start() has already been called when main()
is invoked (if the kernel is included)?
3/ Is there any approved method of halting the system (eg due to an
unrecoverable soft error) or is calling the C library exit() or _exit()
sufficient?
4/ Can stdout output be relied upon on all platforms? Is stdout and/or
stderr assumed to be a debug/monitor output stream?
Thanks,
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
More information about the Ecos-discuss
mailing list