On 8 янв, 16:27, Phil Thompson wrote:
> On Thu, 7 Jan 2010 15:07:10 -0800 (PST), h0uk
> wrote:
>
> ...
>
>
>
> > Phil you right about app.exec_(). But situation is sligthly different.
>
> > I want to have more than one Job. I add these Jobs into QThreadPool
> > trough cycle. And I also want these
On Thu, 7 Jan 2010 15:07:10 -0800 (PST), h0uk
wrote:
...
> Phil you right about app.exec_(). But situation is sligthly different.
>
> I want to have more than one Job. I add these Jobs into QThreadPool
> trough cycle. And I also want these Jobs to run sequentially.
>
> The following code illu
On 8 янв, 03:02, Phil Thompson wrote:
> On Thu, 7 Jan 2010 13:03:24 -0800 (PST), h0uk
> wrote:
>
> > On 8 янв, 01:02, "Diez B. Roggisch" wrote:
> >> h0uk schrieb:
>
> >> > Hello.
>
> >> > I have the following code:
>
> >> > #workers = {}
> >> > QtCore.QThreadPool.globalIn
On Thu, 7 Jan 2010 13:03:24 -0800 (PST), h0uk
wrote:
> On 8 янв, 01:02, "Diez B. Roggisch" wrote:
>> h0uk schrieb:
>>
>>
>>
>> > Hello.
>>
>> > I have the following code:
>>
>> > #workers = {}
>> > QtCore.QThreadPool.globalInstance().setExpiryTimeout
>> > (30)
>> >
On 8 янв, 02:25, "Diez B. Roggisch" wrote:
> h0uk schrieb:
>
>
>
> > On 8 янв, 01:02, "Diez B. Roggisch" wrote:
> >> h0uk schrieb:
>
> >>> Hello.
> >>> I have the following code:
> >>> #workers = {}
> >>> QtCore.QThreadPool.globalInstance().setExpiryTimeout
> >>> (30)
h0uk schrieb:
On 8 янв, 01:02, "Diez B. Roggisch" wrote:
h0uk schrieb:
Hello.
I have the following code:
#workers = {}
QtCore.QThreadPool.globalInstance().setExpiryTimeout
(30)
QtCore.QThreadPool.globalInstance().setMaxThreadCount(1)
for i
On 8 янв, 01:02, "Diez B. Roggisch" wrote:
> h0uk schrieb:
>
>
>
> > Hello.
>
> > I have the following code:
>
> > #workers = {}
> > QtCore.QThreadPool.globalInstance().setExpiryTimeout
> > (30)
> > QtCore.QThreadPool.globalInstance().setMaxThreadCount(1)
>
h0uk schrieb:
Hello.
I have the following code:
#workers = {}
QtCore.QThreadPool.globalInstance().setExpiryTimeout
(30)
QtCore.QThreadPool.globalInstance().setMaxThreadCount(1)
for i in range(1, int(userscnt) + 1):
work = wk.Wo
Hello.
I have the following code:
#workers = {}
QtCore.QThreadPool.globalInstance().setExpiryTimeout
(30)
QtCore.QThreadPool.globalInstance().setMaxThreadCount(1)
for i in range(1, int(userscnt) + 1):
work = wk.Worker(i)