From: Rolf-Werner Eilert <eilert-sprac...@t-online.de> >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 ------------------------------------------------------------------------------ DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user