This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
POSIX main thread
- From: Szentirmai Gergely <gergely dot szentirmai at axelero dot hu>
- To: eCos Discuss <ecos-discuss at ecos dot sourceware dot org>
- Date: Fri, 10 Apr 2009 20:03:29 +0200
- Subject: [ECOS] POSIX main thread
Hello
I had to add POSIX compatibility to my project, because FAT support is
depending on it. It's ok, but I don't need POSIX compat to create a
thread, and call main(). It eats 8k from my SRAM, and that hurts much!
As I see from the source pthread.cxx there is no upportunitiy to disable
this feature.
Would not be it usefull? Or there is a reason, why it is not available.
As a secound option, I would make a main_thread_stack_size option in
posix thread configuration in the cdl.
Gergely Szentirmai
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss