[ECOS] How can I wait for a thread to complete

Øyvind Harboe oyvind.harboe@zylin.com
Wed Nov 12 14:54:00 GMT 2003


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



More information about the Ecos-discuss mailing list