| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
-DTCL_NO_DEPRECATED, because they are not used any more.
|
|
|
|
| |
threaded allocator in some situations.
|
|\ |
|
| |\ |
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | | |
coffbase.txt. Eliminate exess spacing
|
|\ \ \
| | | |
| | | |
| | | | |
[http://code.activestate.com/lists/tcl-core/15645/]
|
| |\ \ \
| |/ / /
|/| | |
| | | | |
- Merge trunk
- (cherry-pick from dhr-micro-optimization): Micro-optimization: remove double checked lock from TclGetAllocCache in favour of initialization in TclInitSubsystems
|
|/ / /
| | |
| | |
| | | |
One less mutex to be worried about.
|
|/ /
| |
| |
| |
| |
| |
| | |
hirofumi for both the bug-report and the fix.
Use TclpMasterLock() in stead of MASTER_LOCK everywhere (in stead of in some files only, not in others).
Use "static int initialized" variable consistantly.
Fix some comments. No change of functionality.
|
|\ \
| |/
| |
| | |
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.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
of usleep().
|
| | | |
|
| | |
| | |
| | |
| | | |
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.
|
|\ \
| |/ |
|
| |
| |
| |
| | |
it's even not necessary any more (except for fake-rfc2553, but mutexes are used here already) , but it's in the internal stub table so we cannot remove it until 9.0
|
|\ \
| | |
| | |
| | | |
old unix systems that need inclusion in all compilation units are supported.
Update autogoo for gettimeofday(). Thanks Joe English.
|
|\ \ \ |
|
| | | |
| | | |
| | | | |
rest of Tcl source code. No ABI change. API change *should* be harmless.
|
|\ \ \ \
| | | | |
| | | | | |
cause more harm than good. Purged them (except in zlib files).
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change TclpThreadCreate and Tcl_CreateThread
signature, making clear that "proc" is a function
pointer, as in all other "proc" function parameters.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* use do { ... } while (0) in macros
* avoid shadowing one local variable with another
* use clearer 'foo.bar++;' instead of '++foo.bar;' where result not
required (i.e., semantically equivalent)
* follow Engineering Manual rules on spacing and declarations
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Use <pthread.h> in stead of "pthread.h"
Eliminate some more gcc warnings
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* generic/tclInt.h: and related ifdefs and autoconf tests.
* unix/tclUnixPort.h: [Bug 2017264] (jenglish)
* unix/tcl.m4:
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* 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.
|
| | | |/
| | | |
| | | |
| | | | |
cache (in tclUnixThrd.c)
|
| | |/
| | |
| | | |
old unix systems that need inclusion in all compilation units are supported.
|
| | |\
| |/ / |
|
| | | |
|
| |\ \
|/ / /
| | _ |
more harm than good. Purged them.
|
| |
| |
| | |
more harm than good. Purged them.
|
| |
| |
| |
| | |
pthread_join exit return code storage. [Bug 1712723]
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
* unix/tclUnixPort.h: any use of readdir_r as it is not
* unix/tclUnixThrd.c: necessary and just confuses things.
|
| |
| |
| |
| |
| |
| | |
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.
|