Fork processes.

wayne infotechsys at pivot.net
Tue Feb 9 05:31:29 PST 1999


> In fact, you might not even need threads, since the control between the
> three processes might be totally event/message driven.
>
> For example, something like this:
>
> ..
> static void Main(string[] args) {
> ..
>         i = new InvoiceHandler();
>         c = new CustomerHandler();
>         v = new InventoryHandler();
> ..
> }
>
> ...
> [in some menu control routine]
>         openNewCustomerDialog();
> ...
>
> Then the code in the customer dialog will call methods in the customer
> handler to register the new customer, and so on..
>
> Jules
>

Is there any penalty  in performance to be paid if I did it the way you
suggest in your example vs. using
Runtome.exec()?




More information about the kaffe mailing list