public inbox for ecos-devel@sourceware.org
 help / color / mirror / Atom feed
* resume thread
@ 2004-10-20 12:36 Sicheri Marco
  0 siblings, 0 replies; only message in thread
From: Sicheri Marco @ 2004-10-20 12:36 UTC (permalink / raw)
  To: eCos Dev.List

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-10-20 12:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-20 12:36 resume thread Sicheri Marco

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).