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
> [...]
>> Waiting for threads...
> 
> Here we have a problem which we will have to locate.
> I'll try to look at it. If possible please also check
> what happens when we reverted the order.
> 
With your latest commit (thread.c at revision 10343):

mttest04 never ends, two threads keep running, the others are all blocked.

 1  200 blocked
 2  200 running
 3  200 ready
 4  200 blocked
 5  200 blocked
 6  200 blocked

mttest05 blocks after a little while, 4 threads blocked

 1  200 blocked
 3  200 blocked
 4  200 blocked
 6  200 blocked

mttest06 the same, 5 threads blocked

 1  200 blocked
 2  200 blocked
 3  200 blocked
 4  200 blocked
 6  200 blocked

mttest07 the same, 4 blocked threads

 1  200 blocked
 2  200 blocked
 3  200 blocked
 4  200 blocked

mttest08, 09, 10, 12 all work ok.

Maurilio.


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


_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to