Re: [Gambas-user] how to make threats

2013-11-13 Thread PICCORO McKAY Lenz
Tobias respond me this in another topic: From: Tobias Boege tabo...@gmail.com Subject: Re: [Gambas-user] wait vs sleep confusion, console works, Ahh. Actually, there is no main thread or something. Gambas is single- threaded throughout. In GUI programs, the so-called event loop kicks in

Re: [Gambas-user] how to make threats

2013-11-13 Thread PICCORO McKAY Lenz
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

Re: [Gambas-user] how to make threats

2013-11-13 Thread Fabien Bodard
2013/11/13 PICCORO McKAY Lenz mckaygerh...@gmail.com: Tobias respond me this in another topic: From: Tobias Boege tabo...@gmail.com Subject: Re: [Gambas-user] wait vs sleep confusion, console works, Ahh. Actually, there is no main thread or something. Gambas is single- threaded throughout.

Re: [Gambas-user] how to make threats

2013-11-13 Thread Tobias Boege
On Wed, 13 Nov 2013, Sebastian Kulesz wrote: I had the same problem, you can look at my solution here [0]. Basically, i used a pool of HttpClients with the async property set to True. The logic goes like this. I have an index files which tracks around 120 files stored online. Not going to

Re: [Gambas-user] how to make threats

2013-11-13 Thread Benoît Minisini
Le 13/11/2013 21:14, PICCORO McKAY Lenz a écrit : 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

Re: [Gambas-user] how to make threats

2013-11-13 Thread Sebastian Kulesz
On Wed, Nov 13, 2013 at 5:29 PM, Tobias Boege tabo...@gmail.com wrote: On Wed, 13 Nov 2013, Sebastian Kulesz wrote: I had the same problem, you can look at my solution here [0]. Basically, i used a pool of HttpClients with the async property set to True. The logic goes like this. I have

Re: [Gambas-user] how to make threats

2013-11-13 Thread Fabien Bodard
The loop i use for gb.map is defferent I have an array of 4 httpserver. Then i have an array of n files to download -- get a free client Private Sub GetClient() As HttpClient Dim i As Integer For i = 0 To $aClients.max If $aClients[i].Status = Net.Inactive Then Return $aClients[i]

Re: [Gambas-user] how to make threats

2013-11-12 Thread Rolf-Werner Eilert
: PICCORO McKAY Lenz mckaygerh...@gmail.com To: mailing list for gambas users gambas-user@lists.sourceforge.net Sent: Mon, 11 Nov 2013 14:01:28 -0430 Subject: [Gambas-user] how to make threats mi previous question no have response , so i reformuled: how to i can make threatds? i mean i wish

Re: [Gambas-user] how to make threats

2013-11-12 Thread nando
+0100 Subject: Re: [Gambas-user] how to make threats And how would you stop such a thread when you finish the main program (GUI)? Am 11.11.2013 23:31, schrieb nando: 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

Re: [Gambas-user] how to make threats

2013-11-12 Thread Fabien Bodard
eilert-sprac...@t-online.de To: gambas-user@lists.sourceforge.net Sent: Tue, 12 Nov 2013 09:52:46 +0100 Subject: Re: [Gambas-user] how to make threats And how would you stop such a thread when you finish the main program (GUI)? Am 11.11.2013 23:31, schrieb nando: one way is to make

[Gambas-user] how to make threats

2013-11-11 Thread PICCORO McKAY Lenz
mi previous question no have response , so i reformuled: how to i can make threatds? i mean i wish to make daemons in gambas... if i started a gui proyect its easy, but if i started a console project do not know how to made that! wiki its vage in this and there's no examples in source -- Lenz

Re: [Gambas-user] how to make threats

2013-11-11 Thread nando
: Mon, 11 Nov 2013 14:01:28 -0430 Subject: [Gambas-user] how to make threats mi previous question no have response , so i reformuled: how to i can make threatds? i mean i wish to make daemons in gambas... if i started a gui proyect its easy, but if i started a console project do not know how