* [ECOS] Reg yg_thread_create
@ 2002-03-01 4:28 Hrishikesh B
2002-03-01 7:33 ` Andrew Lunn
0 siblings, 1 reply; 2+ messages in thread
From: Hrishikesh B @ 2002-03-01 4:28 UTC (permalink / raw)
To: ecos-discuss
HI,
I am new to ecos. I would like to know, how do check if
cyg_thread_create succeded or not. From the api doc I couldn't figure
out a way to do that.
thanks
kesh
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ECOS] Reg yg_thread_create
2002-03-01 4:28 [ECOS] Reg yg_thread_create Hrishikesh B
@ 2002-03-01 7:33 ` Andrew Lunn
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Lunn @ 2002-03-01 7:33 UTC (permalink / raw)
To: Hrishikesh B; +Cc: ecos-discuss
> I would like to know, how do check if
> cyg_thread_create succeded or not. From the api doc I couldn't figure
> out a way to do that.
Turn on assertions. Look in the Infrastructure section. If it fails,
it will probably assert. If it returns from the function call, you
can assume it succeeded in creating the thread. The thread may not do
anything useful, if you have passed bad parameters etc, but it at
least exists.
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-03-01 12:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-01 4:28 [ECOS] Reg yg_thread_create Hrishikesh B
2002-03-01 7:33 ` Andrew Lunn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).