Overview
| Comment: | 2000-04-08 Andreas Kupries <[email protected]> * Overall change: Definition of a public API for the creation of new threads. * generic/tclInt.h (line 1802f): Removed the definition of 'TclpThreadCreate'. (line 793f) Removed the definition of 'Tcl_ThreadCreateProc'. * generic/tcl.h (line 388f): Readded the definition of 'Tcl_ThreadCreateProc'. Added Win32 stuff send in by David Graveraux <[email protected]> to that too (__stdcall, ...). Added macros for the default stacksize and allowed flags. * generic/tcl.decls (line 1356f): Added definition of 'Tcl_CreateThread', slot 393 of the stub table. Two new arguments in the public API, for stacksize and flags. * win/tclWinThrd.c: * mac/tclMacThrd.c: Renamed TclpThreadCreate to Tcl_CreateThread, added handling of the stacksize. Flags are currently ignored. * unix/tclUnixThrd.c: See above, but handles joinable flag. Ignores the specified stacksize if the macro HAVE_PTHREAD_ATTR_SETSTACKSIZE is not defined. * generic/tclThreadTest.c (line 363): See below. * unix/tclUnixNotfy.c (line 210): Adapted to the changes above. Uses default stacksize and no flags now. * unic/tcl.m4 (line 382f): Added a check for 'pthread_attr_setstacksize' to detect platforms not implementing this feature of pthreads. If it is implemented, configure will define the macro HAVE_PTHREAD_ATTR_SETSTACKSIZE (See unix/tclUnixThrd.c too). * doc/Thread.3: Added Tcl_CreateThread and its arguments to the list of described functions. Removed stuff about not providing a public C-API for thread-creation. |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
51f6c167f66056d7bb0b2490b8ac04ec |
| User & Date: | kupries on 2000-04-09 16:04:16.000 |
| Other Links: | manifest | tags |
Context
|
2000-04-09
| ||
| 21:14 | * unix/tclUnixThrd.c (Tcl_CreateThread): moved TCL_THREADS ifdef inside of func as it is declared ... check-in: 26ed7e69c3 user: hobbs tags: trunk | |
| 16:04 | 2000-04-08 Andreas Kupries <[email protected]> * Overall change: Definition of a public API f... check-in: 51f6c167f6 user: kupries tags: trunk | |
|
2000-04-08
| ||
| 02:35 | * tests/fCmd.test: marked test 8.1 knownBug because it is dangerous on poorly configured systems [... check-in: 89587dc15b user: hobbs tags: trunk | |
Changes
Modified ChangeLog
from [e56ccb66ad]
to [04ada0e815].
[diff]
Modified doc/Thread.3
from [4570cb5f1a]
to [f6f0bc1c39].
[diff]
Modified generic/tcl.decls
from [41a775d2a4]
to [478687ed7d].
[diff]
Modified generic/tcl.h
from [282bf2c20e]
to [0a89cfd34e].
[diff]
Modified generic/tclDecls.h
from [e8d564d197]
to [22d48b9108].
[diff]
Modified generic/tclInt.h
from [98a8e1d2c6]
to [39d3c0c143].
[diff]
Modified generic/tclStubInit.c
from [29901dd361]
to [ebd67f051f].
[diff]
Modified generic/tclThreadTest.c
from [3044debe8a]
to [cae46e3403].
[diff]
Modified mac/tclMacThrd.c
from [b027eb2665]
to [0b7f7f8458].
[diff]
Modified unix/tcl.m4
from [ad11a8081c]
to [64e48c15ad].
[diff]
Modified unix/tclUnixNotfy.c
from [862ecf74cd]
to [ee8f2dc6bf].
[diff]
Modified unix/tclUnixThrd.c
from [51a5e31e74]
to [f0274e7e9d].
[diff]
Modified win/tclWinThrd.c
from [5240d9b184]
to [cfa352ba7b].
[diff]