| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
|\ \
| |/
| |
| | |
library doesn't work in Debug build on Windows_x64
|
| |
| |
| |
| | |
library doesn't work in Debug build on Windows_x64
|
|\ \
| |/
| |
| | |
details, see [ba44e415a0]: Use of mutexLock causes problem with reactive event handling in AndroWish
|
| |\
| | |
| | |
| | | |
details, see [ba44e415a0]: Use of mutexLock causes problem with reactive event handling in AndroWish
|
| |/
|/|
| |
| |
| | |
reactive event handling in AndroWish".
This basically undoes the retry mechamism in Tcl_MutexLock, introduced in [9f8b7bea53]. Does this retry mechamism hurt more than it helps? Feedback requested.
|
|\ \
| |/
| |
| | |
9f8b7bea5344f1b0 broke netbsd's thread notifier
|
| |\
| | |
| | |
| | | |
9f8b7bea5344f1b0 broke netbsd's thread notifier
|
| |/
|/|
| | |
Remove now unused internal functions.
|
|\ \
| |/
| |
| | |
forking process under heavy multithreading. Thanks to Joe Mistachkin for the implementation of the fix, and Gustaf Neumann for the original report and testing the fix.
|
| |\
| | |
| | |
| | | |
forking process under heavy multithreading. Thanks to Joe Mistachkin for the implementation of the fix, and Gustaf Neumann for the original report and testing the fix.
|
| | |
| | |
| | |
| | | |
complexity. Also, on Unix, a more reliable means than Tcl_Sleep() of sleeping for a short time is needed.
|
| | | |
|
| |/
|/|
| |
| | |
Tcl_MutexUnlockAndFinalize API. Not yet tested.
|
|\ \
| |/ |
|
|\ \ |
|
|\ \ \ |
|
| | | |
| | | |
| | | | |
rest of Tcl source code. No ABI change. API change *should* be harmless.
|
|\ \ \ \
| | | | |
| | | | | |
cause more harm than good. Purged them (except in zlib files).
|
| | | | |
| | | | |
| | | | |
| | | | | |
e.g. by using full 64-bits for socket fd's
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change TclpThreadCreate and Tcl_CreateThread
signature, making clear that "proc" is a function
pointer, as in all other "proc" function parameters.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
and various other minor CYGWIN
compilation problems
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* win/tclWinReg.c PDWORD_PTR
* win/tclWinThrd.c: Fix various minor gcc warnings.
* win/tclWinTime.c
* win/tclWinConsole.c Put channel type definitions
* win/tclWinChan.c in static const memory
* win/tclWinPipe.c
* win/tclWinSerial.c
* win/tclWinSock.c
* generic/tclIOGT.c
* generic/tclIORChan.c
* generic/tclIORTrans.c
* unix/tclUnixChan.c
* unix/tclUnixPipe.c
* unix/tclUnixSock.c
* unix/configure (regenerated with autoconf 2.59)
* tests/info.test: Make test independant from
tcltest implementation.
|
| | | | |
| | | | |
| | | | |
| | | | | |
etc.)
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
this is a pointer sized field while windows only fills it with a 32
bit value. The result is an inability to join the threads as the ids
cannot be matched.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
supposed to be a constant, but this was not reflected in the API:
Tcl_SetTimer
Tcl_WaitForEvent
Tcl_ConditionWait
Tcl_SetMaxBlockTime
Introduced a CONST86, so extensions which have their own Notifier
(are there any?) can be modified to compile against both Tcl 8.5
and Tcl 8.6. This change complies with TIP #24
|
| | | | |
| | | | |
| | | | |
| | | | | |
thread key creation is successful.
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* generic/tclInt.h: Change around some function names and
add some new per-platform declarations for thread-specific data
functions.
* generic/tclThread.c: Make use of of the new function names
that no longer have a Tclp prefix.
* generic/tclThreadStorage.c: Replace the core thread-specific data
(TSD) mechanism with an array offset solution that eliminates the
hash tables, and only uses one slot of native TSD.
Many thanks to Kevin B. Kenny for his help with this.
* unix/tclUnixThrd.c: Add platform-specific TSD functions for use
by tclThreadStorage.c.
* win/tclWinThrd.c: Add platform-specific TSD functions for use
by tclThreadStorage.c.
|
| | | | | |
|
| | | |/ |
|
| | | |\
| | |/ / |
|
| | | | |
|
| | |\ \
| | | |/ |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | |\ \
| |/ / /
| | | _ |
|
| |\ \
| | |/
| | | |
more harm than good. Purged them.
|
| | |
| | |
| | | |
more harm than good. Purged them.
|
| | |
| | |
| | |
| | |
| | |
| | | |
This allows exit handlers that are registered later to
re-initialize this subsystem in case they need to use some sync
primitives (cond variables) from this file again.
|
| | |
| | |
| | |
| | | |
to top of file and clarify name (was 'key'). [Bug 1204064]
|
| | |
| | |
| | |
| | |
| | |
| | | |
to recognize when being called with NULL argument. This is a
signal for it to clean up the tsd key associated with the
threading allocator. Part of fixing the Tcl Bug #1178445.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclThreadAlloc.c: threaded debug build on Windows
* win/tclWinThrd.c: now works again. Had to touch Unix
* unix/tclUnixThrd.c: as well. Basic patch by Kevin, with
modifications by myself.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclInt.h: fully cleanup on exit and allow for
* generic/tclThreadAlloc.c: reinitialization. [Bug #736426]
* unix/tclUnixThrd.c: (mistachkin, kenny)
* win/tclWinThrd.c:
|
| | |
| | |
| | |
| | | |
users never creating interpreters.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclThread.c:
* generic/tclEvent.c:
* unix/tclUnixThrd.c:
* win/tclWinThrd.c: Provisions made so masterLock, initLock,
allocLock and joinLock mutexes can be recovered during
Tcl_Finalize.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
called from the stack frame of DllMain's PROCESS_DETACH, the
wait operation should timeout and continue.
|