root/trunk/base/src/thread2.6.diff
| Revision 36723, 2.6 KB (checked in by afb@…, 8 months ago) | |
|---|---|
|
|
-
src/thread2.6
diff -ru src/thread2.6/Makefile.in src/thread2.6.mine/Makefile.in
old new 67 67 68 68 srcdir = @srcdir@ 69 69 prefix = @prefix@ 70 exec_prefix = @ exec_prefix@70 exec_prefix = @prefix@ 71 71 72 72 bindir = @bindir@ 73 libdir = @ libdir@73 libdir = @prefix@/share/macports/Tcl 74 74 datadir = @datadir@ 75 mandir = @ mandir@75 mandir = @prefix@/share/macports/man 76 76 includedir = @includedir@ 77 77 78 78 DESTDIR = -
src/thread2.6
diff -ru src/thread2.6/configure src/thread2.6.mine/configure
old new 6374 6374 { (exit 1); exit 1; }; } 6375 6375 fi 6376 6376 else 6377 # Check order: pkg --prefix location, Tcl's --prefix location,6377 # Check order: 6378 6378 # directory of tclConfig.sh, and Tcl source directory. 6379 6379 # Looking in the source dir is not ideal, but OK. 6380 6380 6381 eval "temp_includedir=${includedir}" 6382 list="`ls -d ${temp_includedir} 2>/dev/null` \ 6383 `ls -d ${TCL_PREFIX}/include 2>/dev/null` \ 6381 list="`ls -d ${TCL_PREFIX}/include 2>/dev/null` \ 6384 6382 `ls -d ${TCL_BIN_DIR}/../include 2>/dev/null` \ 6385 6383 `ls -d ${TCL_SRC_DIR}/generic 2>/dev/null`" 6386 6384 if test "${TEA_PLATFORM}" != "windows" -o "$GCC" = "yes"; then -
lib/ttrace.tcl
diff -ru src/thread2.6/lib/ttrace.tcl src/thread2.6.mine/lib/ttrace.tcl
old new 50 50 variable mutex ns_mutex 51 51 variable elock [$mutex create traceepochmutex] 52 52 variable store nsv_ 53 } elseif {![catch {package require Thread} version]} {54 variable tvers $ version53 } elseif {![catch {package require Thread} thread_pkg_version]} { 54 variable tvers $thread_pkg_version 55 55 variable mutex thread::mutex 56 56 variable elock [$mutex create] 57 57 variable store tsv:: -
src/thread2.6/generic/threadPoolCmd.c
# tcl-64/tcl_ext/thread/thread.diff
old new 1710 1710 * 1711 1711 *---------------------------------------------------------------------- 1712 1712 */ 1713 #ifdef __WIN32__ 1714 #include <sys/timeb.h> 1715 #else 1716 #include <sys/time.h> 1717 #endif 1713 1718 static void 1714 1719 GetTime(timePtr) 1715 1720 Tcl_Time *timePtr; 1716 1721 { 1717 1722 #ifdef __WIN32__ 1718 #include <sys/timeb.h>1719 1723 struct timeb tb; 1720 1724 (void)ftime(&tb); 1721 1725 timePtr->sec = tb.time; 1722 1726 timePtr->usec = tb.millitm * 1000; 1723 1727 #else 1724 #include <sys/time.h>1725 1728 struct timeval tv; 1726 1729 (void)gettimeofday(&tv, NULL); 1727 1730 timePtr->sec = tv.tv_sec;
Note: See TracBrowser
for help on using the browser.

