diff options
| author | das <das> | 2006-10-13 04:54:16 (GMT) |
|---|---|---|
| committer | das <das> | 2006-10-13 04:54:16 (GMT) |
| commit | 3ff2c4dac7dae79dea63a3958f699b9e3a39b7c7 (patch) | |
| tree | 2e515d8d08500e6ea7688d44d85de2b244a426d9 /unix/tclUnixThrd.c | |
| parent | 7fad20b386099ce01facf9c6049f51b7516e9b32 (diff) | |
| download | tcl-3ff2c4dac7dae79dea63a3958f699b9e3a39b7c7.zip tcl-3ff2c4dac7dae79dea63a3958f699b9e3a39b7c7.tar.gz tcl-3ff2c4dac7dae79dea63a3958f699b9e3a39b7c7.tar.bz2 | |
* unix/tclUnixThrd.c (TclpThreadGetStackSize): on Darwin, use
* unix/tcl.m4: pthread_get_stacksize_np() API to get thread stack size.
* unix/configure: autoconf-2.59
* unix/tclConfig.h.in: autoheader-2.59
Diffstat (limited to 'unix/tclUnixThrd.c')
| -rw-r--r-- | unix/tclUnixThrd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/unix/tclUnixThrd.c b/unix/tclUnixThrd.c index 434cbed..57795ab 100644 --- a/unix/tclUnixThrd.c +++ b/unix/tclUnixThrd.c @@ -233,6 +233,8 @@ TclpThreadGetStackSize(void) } pthread_attr_destroy(&threadAttr); return (int) stackSize; +#elif defined(HAVE_PTHREAD_GET_STACKSIZE_NP) + return (int) pthread_get_stacksize_np(pthread_self()); #else /* * Cannot determine the real stack size of this thread. The caller might |
