Ok,

now hbmk2 works.

Let's do some tests now about speed .)

Thanks a lot.

Maurilio.


Przemysław Czerpak wrote:
> On Tue, 24 Nov 2009, Maurilio Longo wrote:
> 
> Hi,
> 
>> Przemyslaw,
>> no, I've changed it this way
>> static mspace hb_mspace( void )
>> {
>>    HB_STACK_TLS_PRELOAD
>>
>>    //if( hb_stackId() && hb_stack.allocator )
>>    #undef hb_stackTotalItems
>>    if( hb_stackTotalItems() && hb_stack.allocator )
>>       return ( ( PHB_MSPACE ) hb_stack.allocator )->ms;
>>    if( !s_gm )
>>       s_gm = create_mspace( 0, 1 );
>>    return s_gm;
>> }
>> but it still dies upon startup.
> 
> Sorry my typo, the problem is also inside HB_STACK_TLS_PRELOAD macro so
> it should be changed to:
> 
>    static mspace hb_mspace( void )
>    {
>       #undef hb_stackTotalItems
>       if( hb_stackTotalItems() )
>       {
>          HB_STACK_TLS_PRELOAD
>          if( hb_stack.allocator )
>             return ( ( PHB_MSPACE ) hb_stack.allocator )->ms;
>       }
>       if( !s_gm )
>          s_gm = create_mspace( 0, 1 );
>       return s_gm;
>    }
> 
> Please test.
> In a while I'll commit modification which should resolve this problem.
> 
> best regards,
> Przemek
> _______________________________________________
> Harbour mailing list (attachment size limit: 40KB)
> [email protected]
> http://lists.harbour-project.org/mailman/listinfo/harbour
> 

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


_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to