I couldn't recompile harbour
Here the error:
cl.exe -nologo -I. -I../../../../../include -Gs -TP -W4 -wd4127 -Ot2b1
-EHs-c- -MT -DHB_FM_STATISTICS_OFF -DHB_FM_DLMT_ALLOC -DHB_MT_VM -c
../../../fm.c -Fofm.obj
fm.c
../../../fm.c(403) : error C2440: '=' : cannot convert from 'mspace' to
'mspace *'
Conversion from 'void*' to pointer to non-'void' requires an
explicit cast
../../../fm.c(415) : error C2440: '=' : cannot convert from 'mspace' to
'mspace *'
Conversion from 'void*' to pointer to non-'void' requires an
explicit cast
Regards
Angel
dru...@users.sourceforge.net escribió:
Revision: 10724
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10724&view=rev
Author: druzus
Date: 2009-03-29 17:13:52 +0000 (Sun, 29 Mar 2009)
Log Message:
-----------
2009-03-29 19:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapi.h
* harbour/include/hbstack.h
* harbour/source/vm/estack.c
* harbour/source/vm/fm.c
+ added support for thread local memory allocators by using MSPACE
mechanism in DLALLOC.
It can be enabled by compiling Harbour with HB_FM_DLMT_ALLOC macro.
By default up to 16 (HB_MSPACE_COUNT macro) independent memory
allocators is dynamically created for new threads. When more threads
is used then allocators are shared between them and HVM tries to
balance used allocators to reduce number of threads using the
same allocator.
It should give noticeable scalability improvement in some OS-es
where default memory manages has pure MT performance.
Please try to compiler speedtst.prg with Harbour compiled with
and without HB_FM_DLMT_ALLOC and compare results in this test:
speedtst --thread=2 --scale
using real multiCPU machine.
* harbour/source/vm/dlmalloc.c
* pacified warning when FOOTERS are enabled
* harbour/source/vm/garbage.c
* cleanup comment
Modified Paths:
--------------
trunk/harbour/ChangeLog
trunk/harbour/include/hbapi.h
trunk/harbour/include/hbstack.h
trunk/harbour/source/vm/dlmalloc.c
trunk/harbour/source/vm/estack.c
trunk/harbour/source/vm/fm.c
trunk/harbour/source/vm/garbage.c
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour