This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Question about the parameter passed to cyg_thread_create() fun?
- From: "Qiang Huang" <jameshq at liverpool dot ac dot uk>
- To: "Ecos-Discuss" <ecos-discuss at sources dot redhat dot com>
- Date: Mon, 18 Nov 2002 11:15:15 -0000
- Subject: [ECOS] Question about the parameter passed to cyg_thread_create() fun?
Hi all:
For the stack to be used for the thread which type should be used?
e.g. if define cyg_uint32 stack[4096], then the size parameter should be
4096 or should be in byte count 4*4096 passed to cyg_thread_create()?
if cyg_uint8 stack[4096] then 4096 should be passed as the size parameter to
cyg_thread_create().
Thanks a lot.
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss