[Gambas-user] how to make threats

PICCORO McKAY Lenz mckaygerhard at ...626...
Wed Nov 13 21:14:30 CET 2013


From: Rolf-Werner Eilert <eilert-sprachen at ...221...>
>And how would you stop such a thread when you finish the main program (GUI)?
>> one way is to make use rc.local file
>> and place the name of the executable there
>> with a & at the end to make it run in the background.
i talking about making "threaths" not daemonization, that's so easy.,
using debian policy and the "sstart-stop-daemon" program provides
with dpkg!!!!
 its not only made that program runs without stop! my god!

the most important think its made thinks independent of another already executed

the control when strat or stop are handle by u'r program logic ok! if u
talk about a daemon, daemon do not stop until a STOP EVENT was received
and CAPTURED....

as i said to Tobias Boege:

i think about simulate that multithread
by making separate projects and call each then complied as EXECT AS
PROCESS etc etc.. this can work as expected? but i dont know how to
manage multiple projects inside one in the ide!

also Tobias talk about "Task", where i find examples about taks in gambas?

-- 
Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com




More information about the User mailing list