This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: FW: Mailboxes - priorities of messages


Just rushing in with this suggestion:

mq_open, mq_send. see
http://www.opengroup.org/onlinepubs/007908799/xsh/mq_send.html

Its in the ecos posix layer. I don't know if the priority works (it should
do), but its a start.


> -----Original Message-----
> From: Gorjup Matthias [mailto:Matthias.Gorjup@SIEMENS.AT]
> Sent: Tuesday 29 June 2004 11:48 AM
> To: ''Ecos-Discuss (E-Mail)'
> Subject: [ECOS] FW: [ECOS] Mailboxes - priorities of messages
> 
> 
> Hello Andrew,
> 
> Here are some details of our mBox problem;
> 
> When more than one thread (task) is using the same mBox to 
> communicate with
> one another thread, the send/received mails(messages) has to 
> be kept in a
> message qeue. ( or they arrive to mBox and kept in an order qeue). 
> 
> In this message qeue, we need to put the process of the 
> messages (mails) in
> a prioritisation. For example , a critical mail send by a 
> timeout function
> has to be processed before a user request mail which is send 
> through the
> same mBox to the same thread.
> 
> I hope this gives you enough info.
> 
> Regards.
> Tolga
> 
>    
> 
> -----Original Message-----
> From: Gorjup Matthias
> To: 'Tolga SIMSEK' (E-Mail)
> Sent: 29.06.2004 12:34
> Subject: WG: [ECOS] Mailboxes - priorities of messages
> 
> 
> 
> -----Ursprungliche Nachricht----- 
> Von: Andrew Lunn [ mailto:andrew@lunn.ch <mailto:andrew@lunn.ch> ] 
> Gesendet: Dienstag, 29. Juni 2004 11:29 
> An: Gorjup Matthias 
> Cc: 'ecos-discuss@ecos.sourceware.org' 
> Betreff: Re: [ECOS] Mailboxes - priorities of messages 
> 
> 
> On Tue, Jun 29, 2004 at 10:02:32AM +0200, 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? 
> 
> Prioritized could mean many different things. Please could 
> you be more 
> specific. Are you talking about the threads blocking for 
> access to the 
> mbox, the messages withing the mbox, or some other priority feature. 
> 
>         Andrew 
> 
> -- 
> Before posting, please read the FAQ: 
> http://ecos.sourceware.org/fom/ecos
> and search the list archive: 
> http://ecos.sourceware.org/ml/ecos-discuss
> 


Siemens Traffic Controls is a division of Siemens plc. Registered No.
727817, England. 
Registered office: Siemens House, Oldbury, Bracknell, Berkshire, RG12 8FZ. 

This communication contains information which is confidential and 
may also be privileged. It is for the exclusive use of the addressee. 
If you are not the addressee please note that any distribution, 
reproduction, copying, publication or use of this communication 
or the information in it is prohibited.  If you have received this 
communication in error, please contact us immediately and also 
delete the communication from your computer. 



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]