This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Mailboxes - priorities of messages
- From: Savin Zlobec <savin at elatec dot si>
- To: Matthias dot Gorjup at SIEMENS dot AT, ecos-discuss at sources dot redhat dot com
- Date: Tue, 29 Jun 2004 14:35:21 +0200
- Subject: [ECOS] Re: Mailboxes - priorities of messages
Gorjup Matthias wrote:
Hello,
we are porting a special ethernet driver to eCos and we would need to
implement prioritozed mailbox messages for communication between threads. Is
it possible to use priorities for mbox messages? If not, is there some
workaround or another solution that we could use?
You can also check message queue implementation which is used by posix
compatibility layer and has support for message priorities. The C++ defs are
in cyg/kernel/mqueue.hxx , but I think that there aren't any C warppers.
savin
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss