[ECOS] resume thread

Sicheri Marco m.sicheri@ctsgroup.it
Wed Oct 20 15:48:00 GMT 2004


Hi all,
I have a dubious.....
In my application some thread are running.

Thread 'A' run each 30 ticks, priority: 30
Thread 'B' run each 5 ticks, priority: 10
I'd like:
the thread 'B' post a message (cyg_mbox_put) to thread 'A' and i'd like that
thread 'A' go run after that.
How do i do?
I think:
cyg_mbox_put();
cyg_thread_resume(thread'A');
Is it correct?

Thanks!

Ossequi,  (Best Regards/Obrigado)
Marco SICHERI
CTS electronics  - R&D Department
phone: +39 0125 235637, +39 0125 235630
e-mail: m.sicheri@ctsgroup.it
http://www.ctsgroup.it


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list