But if you can create inlined version of above
code for BCC (don't ask me how, I stop seriously using BCC in
DOS days and here some tricks will be necessary) then maybe it
will give enough speed improvement for this compiler.
Hi,
it's possible the goal could be reached, but I'm unable to write inline
function for tls accessing.
Perhaps we should use HB_THREAD_STUB or pass pStack parameter to
functions. What is expected slowdown in ST function (when pStack will be
passed from function to function)? Are we going to change existing
functions, or use a new MT friendly one, and keep old one for
compatibility, for example,
HB_EXPORT void hb_vmPushInteger( PHB_STACK pStack, int iNumber )
{
hb_vmmtPushInteger( hb_stack_ptr, iNumber );
}
HB_EXPORT void hb_vmmtPushInteger( PHB_STACK pStack, int iNumber )
{
...
{
Best regards,
Mindaugas
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour