This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: eCos 2.0 pthread_create problem
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: eCos discussion <ecos-discuss at sources dot redhat dot com>
- Date: Fri, 13 Jun 2003 04:53:33 +0100
- Subject: Re: [ECOS] eCos 2.0 pthread_create problem
- References: <5.1.0.14.1.20030612152623.02b51d60@mail.mindspring.com>
Andrew "ZACK" Zacharias wrote:
My ARM7 system crashes when I call pthread_create.
The assumptions: 'thread' declared as pthread_t thread;,
'vDiagDumpZack' has the form void* vDiagDumpZack(void*)
It is my belief that the following statement should create a thread,
initialize it to default values and run it.
rc = pthread_create(&thread, NULL, vDiagDumpZack, NULL);
[snip]
Just to save anyone else before they try to answer, this problem was
resolved by eCosCentric support (1 hour turnaround too!).
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss