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:\REPOSITORY\HARBOUR\tests\mt)mttest05

Harbour 1.1.0dev (Rev. 10342)
Starting threads: <1><2><3><4><5>
Waiting for threads...


same for mttest06

(E:\REPOSITORY\HARBOUR\tests\mt)mttest06

Harbour 1.1.0dev (Rev. 10342)
Starting threads: <1><2><3><4><5>
Waiting for threads...


mttest07 blocks with five blocked threads

(E:\REPOSITORY\HARBOUR\tests\mt)mttest07

Harbour 1.1.0dev (Rev. 10342)
Main start
Starting threads: <1><2><3><4><5>
Sending jobs...
Sending terminate values...<1><2><3><4><5>
Collecting results...
Waiting for threads...


mttest08 and 09 run to completion

mttest10 does not build at all

(E:\REPOSITORY\HARBOUR\tests\mt)hbmk2 -mt mttest10.prg
Harbour Make 1.1.0dev (Rev. 10342)
Copyright (c) 1999-2009, Viktor Szakats
http://www.harbour-project.org/

hbmk: Using Harbour: e:\harbour\bin e:\harbour\include e:\harbour\lib
e:\harbour\lib/hbrtl.a(browse.o): Undefined symbol _HB_FUN_INDEXKEY referenced f
rom data segment
e:\harbour\lib/hbrtl.a(browdb.o): Undefined symbol _HB_FUN_DBSKIPPER referenced
from data segment
hbmk: Error: Running C compiler. 1: 'gcc mttest10.c  -O3 -o mttest10.exe   -Ie:\
harbour\include -Le:\harbour\lib -lhbcpage -lhblang -lhbcommon -lhbdebug -lhbvmm
t -lhbrdd -lhbusrrdd -lhbuddall -lhbhsx -lhbsix -lrddntx -lrddnsx -lrddcdx -lrdd
fpt -lhbrtl -lhbpp -lhbmacro -lhbpcre -lhbzlib -lhbextern -lgtcgi -lgtstd -lgtpc
a -lgtos2 -lhbcommon -lhbrtl -lhbvmmt -lsocket'


mttest11 runs ok with a running clock

mttest12 runs ok







Przemyslaw Czerpak wrote:
> 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 deadlocks as it starts, it creates 40 threads but all
>> threads are blocked.
>> With previous code test 2 and 3 run ok to completion.
> 
> Can you make some tests with tests/mt/mttest*.prg
> It may give me some more precise information what is wrong.
> Now it's hard to guess what should I looking for.
> 
> best regards,
> Przemek
> _______________________________________________
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
> 

-- 
 __________
|  |  | |__| Maurilio Longo
|_|_|_|____| farmaconsult s.r.l.


_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to