Przemyslaw,
I'm sorry, it still does not work.
mttest04 never ends with a single thread running
1 200 blocked
2 200 blocked
3 200 blocked
4 200 blocked
5 200 running
6 200 blocked
I did not run the other tests.
Maurilio.
Przemyslaw Czerpak wrote:
>
> I've got it. Yet another stup
On Thu, 19 Feb 2009, Maurilio Longo wrote:
Hi Maurilio,
> With your latest commit (thread.c at revision 10343):
> mttest04 never ends, two threads keep running, the others are all blocked.
> mttest05 blocks after a little while, 4 threads blocked
> mttest06 the same, 5 threads blocked
> mttest07
Przemyslaw Czerpak wrote:
>
> So for two threads it works OK.
>
it seems so, speedtst even works when only two threads are used.
>> mttest04 blocks with 5 blocked threads.
>> mttest05 blocks with 4 blocked threads
>> same for mttest06
>> mttest07 blocks with five blocked threads
> [...]
>> Waiti
On Thu, 19 Feb 2009, Maurilio Longo wrote:
> Przemyslaw,
> mttest01, 02, 03 work ok.
> mttest08 and 09 run to completion
> mttest11 runs ok with a running clock
> mttest12 runs ok
So for two threads it works OK.
> mttest04 blocks with 5 blocked threads.
> mttest05 blocks with 4 blocked threads
>
Przemyslaw,
mttest01, 02, 03 work ok.
mttest04 blocks with 5 blocked threads.
(E:\REPOSITORY\HARBOUR\tests\mt)mttest04
Harbour 1.1.0dev (Rev. 10342)
Main start
Starting threads: <1><2><3><4><5>
Wait 5 seconds or hit any key...
Waiting for threads...
mttest05 blocks with 4 blocked threads
(E:
On Thu, 19 Feb 2009, Maurilio Longo wrote:
Hi Maurilio,
> it starts misbehaving with three threads, look at this:
> 1 200 blocked fd504d64
> 2 200 blocked fd5080c4
> 3 200 running fd507008
> 4 200 ready fd507008
> threads 3 and 4 are running and run to completion, thread 2 is blocked si
On Thu, 19 Feb 2009, Maurilio Longo wrote:
Hi Maurilio,
> it does not work, I did a full rebuild then I did build tests/speedtst with
> hbmk2 -mt speedtst then I did a few tests.
> 1) speedtst --thread=2 runs ok
> 2) speedtst --thread=20 deadlock after some time
> 3) speedtst --thread=40 deadlock
Przemyslaw,
it starts misbehaving with three threads, look at this:
1 200 blocked fd504d64
2 200 blocked fd5080c4
3 200 running fd507008
4 200 ready fd507008
threads 3 and 4 are running and run to completion, thread 2 is blocked since
it started, thread 1 is blocked waiting for the ot
Przemyslaw,
it does not work, I did a full rebuild then I did build tests/speedtst with
hbmk2 -mt speedtst then I did a few tests.
1) speedtst --thread=2 runs ok
2) speedtst --thread=20 deadlock after some time
3) speedtst --thread=40 deadlocks as it starts, it creates 40 threads but all
threads
Revision: 10335
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10335&view=rev
Author: druzus
Date: 2009-02-18 18:55:32 + (Wed, 18 Feb 2009)
Log Message:
---
2009-02-18 20:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbthr
10 matches
Mail list logo