This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
How can I wait for a thread to complete
- From: Øyvind Harboe <oyvind dot harboe at zylin dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Wed, 12 Nov 2003 15:54:46 +0100
- Subject: [ECOS] How can I wait for a thread to complete
- Organization: Zylin AS
What is the correct way for my main thread to wait for the completion of
a worker thread to complete, before calling cyg_thread_delete()?
The worker thread has various cleanup it needs to do before exiting,
after which it simply returns from the thread entry function.
Ãyvind
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss