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 the same, 4 blocked threads
> mttest08, 09, 10, 12 all work ok.

I've got it. Yet another stupid typo in _hb_thread_wait_del()

      if( pWaiting->next == pWaiting->prev )
         cond->waiters = NULL;
      else

and list of waiting threads with two items only was cleared
instead of deleting only one item. It's a school mistake.
I really should make some break.

Please test current SVN repository.

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

Reply via email to