On Sat, 11 Oct 2008, Francesco Saverio Giudice wrote:

Hi Francesco,

> I have a problem with BCC and MT.
> I have built some prg in tests folder:
> speedtst.prg, boxtst2.prg and memtst.prg (but I suspect that I will got 
> same error for any)
> using
> set HB_MT=MT
> bld_b32 speedtst
> speedtst at the end write some non standard char to the screen, but all 
> lock console until I kill the process using task manager.

Please make sure that you are using latest SVN code.
In this commit:
   2008-10-10 01:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

I created possible bad deadlock on application exit.
I lost whole day to once again document all Harbour internal locks
and find the reason which was caused by my dirty "fix" to hb_threadID()
to return valid identifier in all cases.
I finally cleand the code in:
   2008-10-10 22:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

and this version should work without such problems. At least on the
paper ;-) - it's still possible that I made some typos in implementation
but before I'll begin to dig it I have to be sure you are using the latest
SVN code.

BTW using any internal HVM locks is critical and should be done with
extreme careful and used only for some small and local places or sooner
or later some other modification will exploit them.

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

Reply via email to