[Gambas-user] Gambas is not multi-threaded, but...

Benoît Minisini gambas at ...1...
Sat Aug 25 01:15:40 CEST 2012


Le 25/08/2012 01:08, Jussi Lahtinen a écrit :
> I think I don't have enough time right now to go deeply into this, but I
> have already done multithreading with Gambas.
> One of my project has interface class which uses exec command to launch
> command line program made with Gambas.
>
> Argument for the command line program describe what it should do. Like this:
> hProcess = Exec ["gbr3", Application.Path &/ "cmdprog.gambas",
> CStr(iWhatToDo)] For Input As "Process"
>
> Interface class has of course Process_Read event for the results.
>
> What I think would be needed is proper way to send more complex data for
> the background process and back.
>
> As this mature, it is great new feature for Gambas!
>
> Jussi
>

Tasks are the same thing, but simpler to use that processes.

And this is *not* multi-threading, but multi-processing.

Regards,

-- 
Benoît Minisini




More information about the User mailing list