summaryrefslogtreecommitdiffstats
path: root/generic/tclThreadTest.c
Commit message (Collapse)AuthorAgeFilesLines
* merge trunkjan.nijtmans2017-03-271-1/+1
|\
| * Improve comment on TCL_WIDE_INT_IS_LONG, making it less misleading. jan.nijtmans2017-03-271-1/+1
| |\ | | | | | | In tclThreadTest.c, allow mainThreadId to be >32 bits.
| | * Improve comment on TCL_WIDE_INT_IS_LONG, making it less misleading. jan.nijtmans2017-03-271-1/+1
| | | | | | | | | In tclThreadTest.c, allow mainThreadId to be >32 bits.
| | * (cherry-pick): Fix gcc 5.3 warning: In function ‘NRInterpCmd’: ↵jan.nijtmans2016-03-041-2/+2
| | | | | | | | | | | | | | | | | | tclInterp.c:726:5: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow] if ((i + 2) < objc) { Remove some excessive spacing
* | | Merge trunkjan.nijtmans2017-03-241-1/+1
|\ \ \ | |/ /
| * | Use portable %p modifier in "generic/tclThreadTest.c", in stead of more ↵jan.nijtmans2017-03-231-1/+1
| | | | | | | | | | | | complicated TCL_LL_MODIFIER.
* | | Merge trunkjan.nijtmans2016-06-291-3/+3
|\ \ \ | |/ /
| * | Tcl_SetVar -> Tcl_SetVar2 and comparable replacements, eliminating functions ↵jan.nijtmans2016-06-291-3/+3
| | | | | | | | | | | | which are deprecated.
* | | merge trunkjan.nijtmans2016-03-071-2/+2
|\ \ \ | |/ /
| * | Fix gcc 5.3 warning: In function ‘NRInterpCmd’: tclInterp.c:726:5: ↵jan.nijtmans2016-03-041-2/+2
| |/ | | | | | | | | | | warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow] if ((i + 2) < objc) { Remove some excessive spacing
| * Eliminate some usages of Tcl_GlobalEval() and Tcl_Eval(), which are ↵jan.nijtmans2016-01-181-3/+3
| | | | | | | | deprecated functions.
* | merge trunkjan.nijtmans2013-06-181-9/+9
|\ \ | |/
| * Fix env.test when running mingw-w64 (AMD64 build) test-suite on wine64. jan.nijtmans2013-06-131-9/+9
| |\ | | | | | | Fix some gcc warnings which become visible with -Wextra
| | * Fix some gcc warnings which become visible with -Wextrajan.nijtmans2013-06-131-11/+11
| | |
* | | more Tcl_NewIntObj/Tcl_NewBooleanObj -> Tcl_NewLongObj conversionsjan.nijtmans2013-02-111-2/+2
| | |
* | | merge trunkjan.nijtmans2013-01-251-0/+1
|\ \ \ | |/ /
| * | Another memory leak, and one Tcl_Free -> ckfreejan.nijtmans2013-01-251-0/+1
| | |
* | | merge trunkjan.nijtmans2013-01-251-1/+1
|\ \ \ | |/ / | | | Add -Wwrite-strings to compiler options, so we can guarantee correct "const" usage.
| * | Eliminate some unneeded usages of Tcl_SetResult, Tcl_AddObjErrorInfojan.nijtmans2013-01-251-1/+1
| | | | | | | | | Fix "make test-packages" on cygwin
* | | Convert Tcl_Eval and Tcl_GlobalEval to a macrojan.nijtmans2013-01-171-1/+1
| | |
* | | merge trunkjan.nijtmans2013-01-021-5/+4
|\ \ \ | |/ /
| * | test Tcl_GetErrorLine() forwards/backwards compatibility in pkgb.so as well. jan.nijtmans2013-01-021-1/+0
| |\ \ | | |/ | | | Don't free ctrl.script if thread creation fails: it is a constant string "testthread wait" normally.
| | * test Tcl_GetErrorLine() forwards/backwards compatibility in pkgb.so as well. jan.nijtmans2013-01-021-9/+8
| | |\ | | | | | | | | | | | | Marked some string subcommands as obsolete, following discussion on tcl-core. Don't free ctrl.script if thread creation fails: it is a constant string "testthread wait" normally.
| | | * Don't free ctrl.script if thread creation fails: it is a constant string ↵jan.nijtmans2013-01-021-1/+0
| | | | | | | | | | | | | | | | "testthread wait" normally.
* | | | remove unnecessary struct names, which only pollute the "struct" namespace ↵jan.nijtmans2012-12-211-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | for the compiler.
| * | | | remove unnecessary struct names, which only pollute the "struct" namespace ↵jan.nijtmans2012-08-201-1/+1
| |/ / / | | | | | | | | | | | | for te compiler.
* | | | Removed functions marked deprecated or obsolete for a long time: ↵jan.nijtmans2012-11-261-2/+2
|/ / / | | | | | | | | | | | | | | | | | | Tcl_Backslash, Tcl_EvalFile, Tcl_GlobalEvalObj, Tcl_GlobalEval, Tcl_EvalTokens. Remove Tcl_FindExecutable from stub table: It is needed by embedders, not extenders. Remove TclpGetDate, TclpGmtime, TclpLocaltime: it isn't use anywhere since the new clock implementation. Remove TclWinConvertWSAError, it's the same as TclWinConvertError.
* | | For [testthread cancel], avoid creating a new Tcl_Obj when the default ↵Joe Mistachkin2011-11-181-1/+2
| | | | | | | | | | | | script cancellation result is desired.
* | | Revise the thread exit handling of the [testthread] command so that itdgp2011-09-211-3/+9
| | | | | | | | | | | | properly maintains the per-process data structures even when the thread exits for reasons other than the [testthread exit] command.
* | | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts indkf2011-03-121-9/+9
| | | | | | | | | rest of Tcl source code. No ABI change. API change *should* be harmless.
* | | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-2/+0
|\ \ \ | |/ / | | | cause more harm than good. Purged them (except in zlib files).
| * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
| |\ \ | | |/ | | | more harm than good. Purged them.
| | * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | | | | more harm than good. Purged them.
| | * Fix [Bug 1562528]dkf2006-09-221-2/+2
| | |
| | * * tests/compile.test (compile-12.4): Backport test for Bug 1001997.dgp2004-10-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/timer.test (timer-10.1): Backport test for Bug 1016167. * tests/tcltest.test (tcltest-12.3,4): Backport setup corrections. * tests/error.test (error-6.3,4,7,9): Backport of some tests. * tests/basic.test (basic-49.*): * tests/namespace.test (namespace-8.7): * tests/init.test (init-2.8): Updated to not rely on http package. * generic/tclThreadTest.c (ThreadEventProc): Corrected subtle bug where the returned (char *) from Tcl_GetStringResult(interp) continued to be used without copying or refcounting, while activity on the interp continued.
* | | fix gcc 64-bit warnings: cast from pointer to integer of different sizenijtmans2010-12-011-11/+11
| | | | | | | | | | | | fix gcc(-4.5.2) warning: 'static' is not at beginning of declaration
* | | #undef STATIC_BUILD in tclWin(Dde|Reg).c, in order to makenijtmans2009-11-231-37/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sure that Xxxxx_Init is always exported even when Tcl is built static (otherwise we cannot create a DLL). tclThreadTest.c: Make all functions static, except TclThread_Init. fCmd.test Enable fCmd-30.1 when registry is available. tcl.m4 Fix ${SHLIB_LD_LIBS} definition, fix conflicts configure.in between static libraries and import library on windows. configure (regenerated) Makefile.in Simplifications related to tcl.m4 changes.
* | | * generic/tclThreadTest.c (NewTestThread): [Bug 2901803]Kevin B Kenny2009-11-231-2/+2
| | | | | | | | | | | | | | | Further machinations to get NewTestThread actually to launch the thread, not just compile.
* | | [Bug 2901803]: Fix silly error.dkf2009-11-231-14/+16
| | |
* | | Fix [Bug 2883850]: pkgIndex.tcl doesn'tnijtmans2009-11-181-5/+11
| | | | | | | | | | | | get created with static Tcl build
* | | - eliminate some unnessary type castsnijtmans2009-02-101-10/+9
| | | | | | | | | | | | | | | - some internal const decorations - spacing
* | | Style fixes (unfouling whitespace, sorting comments, removing useless casts, ↵dkf2009-01-091-49/+44
| | | | | | | | | | | | etc.)
* | | eliminate -Wwrite-strings warnings in enable-threads build.nijtmans2008-12-161-6/+6
| | | | | | | | | | | | use TclNewLiteralStringObj()
* | | Convert Tcl_SetResult(......, TCL_DYNAMIC) tonijtmans2008-11-191-2/+3
| | | | | | | | | | | | | | | Tcl_SetResult(......, TCL_VOLATILE), in preparation for TIP #340
* | | Add "const" to many internalnijtmans2008-10-161-3/+3
| | | | | | | | | | | | | | | const tables. No functional or API change.
* | | fix [2021443] inconsistant "wrong # args" messagesnijtmans2008-07-191-2/+2
| | |
* | | TIP 285 ImplementationJoe Mistachkin2008-06-131-9/+160
|/ /
* | Fix [Bug 1562528]dkf2006-09-221-29/+29
| |
* | ANSIfy the test code (well, strip some of the worst offences!)dkf2005-11-021-274/+292
| |
* | TIP#237 IMPLEMENTATIONdgp2005-10-081-1/+3
| | | | | | | | | | | | [kennykb-numerics-branch] Resynchronized with the HEAD; at this checkpoint [-rkennykb-numerics-branch-20051008], the HEAD and kennykb-numerics-branch contain identical code.