Martin Decky wrote:
There is no reason for the threads _of_a_single_task_ to communicate using IPC. You should use standard shared data structures for that. The IPC should be used to communicate between (threads of) distinct tasks.

Not quite. For example in the case of PCI device driver, where one instance of 
the driver can be the child of another instance, two fibrils in the 'pci' task 
will communicate. This is not treated as a special case - the task has an IPC 
connection to itself and the messages are thus passed from one fibril out and 
back into another fibril. As far as I remember no special provisions in the 
async framework had to be done to make this work.

Cheers
-Jiri

_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/cgi-bin/listinfo/helenos-devel

Reply via email to