This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]