Overview
| Artifact ID: | a7107c16365b87e06bd0c8b9d3eadfb3a0961006 |
|---|---|
| Ticket: | 2017264fffffffffffffffffffffffffffffffff
NRE: remove unused TclpThreadGetStackSize() |
| User & Date: | jenglish on 2008-08-05 15:01:54 |
Changes
- icomment:
File Added - 287115: 2017264.patch Logged In: YES user_id=68433 Originator: NO TclpThreadGetStackSize() can definitely be removed: there are no callers remaining in-tree, and since it's MODULE_SCOPE there are no external callers either. (Plus, it doesn't work.) With that gone, TclpPthreadGetAttrs is no longer used, so the wodge of horrid #ifdeffery in tclUnixPort.h that defines it can go away too. That wodge of horrid #ifdeffery is the only user of the macros HAVE_PTHREAD_ATTR_GET_NP, HAVE_PTHREAD_GETATTR_NP, GETATTRNP_NOT_DECLARED, and ATTRGETNP_NOT_DECLARED, so a big chunk of tcl.m4 can go away too. Looking in the same area: pthread_get_stacksize_np isn't used anymore either; the autoconf check for that can go too. That gets rid of all references to "pthread_*_np" in tree, which will help portability (the "_np" stands for "_nonportable") and maintainability. File Added: 2017264.patch
- login: "jenglish"
- mimetype: "text/plain"
- username: "jenglish"