MorphOS Developer
Posts: 1520 from 2003/2/24
From: Finland
To communicate to main MUI task the best method is creating methodstack. Methodstack is based on MUIM_Application_PushMethod idea but is more versatile. Instead of pushmethod you would call methodstack_push() and methodstack_push_sync() functions.
I am too lazy to talk about it more right now but you find good example from Ambient source code.
EditYou wrote:
Quote:
Just do make it clear, none of the child task will need to do anything MUI.
Even then it can be good idea to use custom MUI methods to notify main task when job is done.
[ Edited by itix 30.10.2011 - 17:17 ]1 + 1 = 3 with very large values of 1