2008-09-23 11:24 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

* include/hbthread.h
    % Enabled TLS for _MSC_VER compilers.
    ; Tested with MSVS 2008 32-bit. Someone pls test with 
      older/other MSVC compilers (especially MSVC6 and WinCE mode)
      to refine the default setting if needed.
This commit is contained in:
Viktor Szakats
2008-09-23 09:25:33 +00:00
parent afd254adc2
commit e7fdff1641
2 changed files with 9 additions and 0 deletions

View File

@@ -8,6 +8,13 @@
2008-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
*/
2008-09-23 11:24 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbthread.h
% Enabled TLS for _MSC_VER compilers.
; Tested with MSVS 2008 32-bit. Someone pls test with
older/other MSVC compilers (especially MSVC6 and WinCE mode)
to refine the default setting if needed.
2008-09-22 22:08 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/thread.c
! fixed GPF when hb_threadSelf() was executed from thread without

View File

@@ -312,6 +312,8 @@ extern void hb_threadMutexUnlockAll( void );
/* enable native compiler TLS support be default for this compilers
* which are known that it will work correctly
*/
# if defined( _MSC_VER )
# define HB_USE_TLS
# if defined( __BORLANDC__ ) && !defined( __CODEGUARD__ )
# define HB_USE_TLS
# elif defined( __GNUC__ ) && __GNUC__ >= 3 && \