IPC between Tasks

Björn Döbel doebel at os.inf.tu-dresden.de
Tue Jun 12 14:53:27 CEST 2012


On 12.06.2012 14:41, Tobias Fink wrote:
> Hi,
> 
> I'm planning on building a small example of a producer/consumer build
> on top of L4Re. From the documentation I know about the shared memory
> inteface which will help to pass information from the producer to the
> consumer but I am a bit clueless on how I notify the consumer that
> there is something new to read. The semaphore is only to be used in
> between threads so there is no way to use them for IPC between Tasks?!
> Is there another possibility to make this work other than to use
> polling?

There is no communication between tasks, because tasks in terms of L4 /
Fiasco.OC are only address spaces (plus some other state, such as the
capability index table). The units of execution are always threads and
hence communication always happens between those. Does that help you?

Bjoern
-- 
Dipl.-Inf. Bjoern Doebel    Mail:  doebel at tudos.org
TU Dresden, OS Chair        Phone: +49 351 463 38 799
Noethnitzer Str. 46         Fax:   +49 351 463 38 284
01187 Dresden, Germany      WWW:   http://www.tudos.org/~doebel
--
"Futbol no es en simple juego. Es una arma de la revolucion!"




More information about the l4-hackers mailing list