2008-09-17 01:29 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/make_xmingwce.sh
* harbour/make_xmingw.sh
+ added an option to build utility binaries in cross builds
* harbour/source/vm/thread.c
! fixes in OS2 builds MT builds
This commit is contained in:
@@ -8,6 +8,14 @@
|
||||
2008-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
|
||||
*/
|
||||
|
||||
2008-09-17 01:29 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/make_xmingwce.sh
|
||||
* harbour/make_xmingw.sh
|
||||
+ added an option to build utility binaries in cross builds
|
||||
|
||||
* harbour/source/vm/thread.c
|
||||
! fixes in OS2 builds MT builds
|
||||
|
||||
2008-09-17 01:17 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
|
||||
* debian/changelog
|
||||
* Synced with 1.0.1.
|
||||
|
||||
@@ -110,7 +110,7 @@ export PATH CCPATH CCPREFIX
|
||||
|
||||
export HB_TOOLS_PREF="hbw"
|
||||
export HB_XBUILD="w32"
|
||||
export HB_HOST_BUILD="lib"
|
||||
[ "${HB_HOST_BUILD}" = "all" ] || export HB_HOST_BUILD="lib"
|
||||
|
||||
export HB_BIN_COMPILE="/tmp/hb-xmingw-$$"
|
||||
rm -fR "${HB_BIN_COMPILE}"
|
||||
|
||||
@@ -70,7 +70,7 @@ fi
|
||||
export CCPATH="${CCPATH}:"
|
||||
export HB_TOOLS_PREF="hbce"
|
||||
export HB_XBUILD="wce"
|
||||
export HB_HOST_BUILD="lib"
|
||||
[ "${HB_HOST_BUILD}" = "all" ] || export HB_HOST_BUILD="lib"
|
||||
export HB_GT_LIB="gtwvt"
|
||||
|
||||
export HB_BIN_COMPILE="/tmp/hb-${CCPREFIX}-$$"
|
||||
|
||||
@@ -347,11 +347,9 @@ HB_THREAD_T hb_threadCreate( PHB_THREAD_STARTFUNC start_func, void * Cargo )
|
||||
if( pthread_create( &th_id, NULL, start_func, Cargo ) != 0 )
|
||||
th_id = 0;
|
||||
#elif defined( HB_OS_WIN_32 )
|
||||
if( ( th_id = ( HANDLE ) _beginthreadex( NULL, 0, start_func, Cargo, 0, NULL ) ) == 0 )
|
||||
th_id = 0;
|
||||
th_id = ( HANDLE ) _beginthreadex( NULL, 0, start_func, Cargo, 0, NULL );
|
||||
#elif defined( HB_OS_OS2 )
|
||||
if( ( th_id = _beginthread( ( void * ) start_func, NULL, 128 * 1024, Cargo ) ) < 0 )
|
||||
th_id = 0;
|
||||
th_id = _beginthread( ( void * ) start_func, NULL, 128 * 1024, Cargo );
|
||||
#else
|
||||
{ int TODO_MT; }
|
||||
th_id = 0;
|
||||
@@ -375,7 +373,7 @@ BOOL hb_threadJoin( HB_THREAD_T th_id )
|
||||
}
|
||||
return FALSE;
|
||||
#elif defined( HB_OS_OS2 )
|
||||
return DosWaitThread( th_id, DCWW_WAIT ) == NO_ERROR;
|
||||
return DosWaitThread( &th_id, DCWW_WAIT ) == NO_ERROR;
|
||||
#else
|
||||
{ int TODO_MT; }
|
||||
return FALSE;
|
||||
@@ -399,7 +397,7 @@ BOOL hb_threadDetach( HB_THREAD_T th_id )
|
||||
* does not keep thread pointer item alive and the cleanup code
|
||||
* will be executed by THIS thread.
|
||||
*/
|
||||
return DosWaitThread( th_id, DCWW_NOWAIT ) == NO_ERROR;
|
||||
return DosWaitThread( &th_id, DCWW_NOWAIT ) == NO_ERROR;
|
||||
#else
|
||||
{ int TODO_MT; }
|
||||
return FALSE;
|
||||
|
||||
Reference in New Issue
Block a user