Skip to content
Tcl Source Code History Of Ticket 2017264
Login

History Of Ticket 2017264

Artifacts Associated With Ticket 2017264

  1. Ticket change [c3eabacab8] (rid 111755) by das on 2008-07-13 13:26:00:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      with the stack checking removed in NRE, TclpThreadGetStackSize() in tclUnixThrd.c is no longer used and could be removed, along with the config checks for HAVE_PTHREAD_ATTR_SETSTACKSIZE and HAVE_PTHREAD_GET_STACKSIZE_NP.
      
    4. foundin initialized to: "obsolete: 8.6a1"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "das"
    10. subsystem initialized to: "52. Portability Support"
    11. title initialized to: "NRE: remove unused TclpThreadGetStackSize()"
    12. type initialized to: "Bug"
  2. Ticket change [5820c452bd] (rid 117747) by msofer on 2008-07-13 22:24:07:

    1. icomment:
      Logged In: YES 
      user_id=148712
      Originator: NO
      
      HAVE_PTHREAD_ATTR_SETSTACKSIZE seems to be used in TclpThreadCreate too.
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  3. Ticket change [c8de3ed64e] (rid 122179) by das on 2008-07-13 22:47:50:

    1. icomment:
      Logged In: YES 
      user_id=90580
      Originator: YES
      
      yep, noticed that after posting the bug as well...
      made me wonder whether the stack size manipulation in TclpThreadCreate() is still needed now ?
      
      
    2. login: "das"
    3. mimetype: "text/plain"
    4. username: "das"
  4. Ticket change [a1f00021f9] (rid 109809) by msofer on 2008-07-13 22:56:04:

    1. icomment:
      Logged In: YES 
      user_id=148712
      Originator: NO
      
      I'd say "still needed": TclpThreadCreate's "stackSize" is part of the public API (via the Tcl_CreateThread)
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  5. Ticket change [a0008564b8] (rid 96733) by mistachkin on 2008-07-14 11:23:28:

    1. icomment:
      Logged In: YES 
      user_id=113501
      Originator: NO
      
      
      I agree with still needed.
      
      
    2. login: "mistachkin"
    3. mimetype: "text/plain"
    4. username: "mistachkin"
  6. Ticket change [550b175a0d] (rid 94057) by msofer on 2008-07-30 06:41:23:

    1. closedate changed to: "2008-07-29T23:41:23"
    2. closer changed to: "msofer"
    3. resolution changed to: "Invalid"
    4. status changed to: "Pending"
  7. Ticket change [c7a1af3ae0] (rid 121964) by das on 2008-07-30 08:05:30:

    1. icomment:
      Logged In: YES 
      user_id=90580
      Originator: YES
      
      no, not invalid...
      
      TclpThreadGetStackSize()  and the HAVE_PTHREAD_GET_STACKSIZE_NP configure check are definitely no longer needed and can be removed.
      
      
      
    2. login: "das"
    3. mimetype: "text/plain"
    4. resolution changed to: "None"
    5. status changed to: "Open"
    6. username: "das"
  8. Ticket change [e0bd34962b] (rid 87329) by msofer on 2008-07-30 08:14:05:

    1. assignee changed to: "das"
    2. icomment:
      Logged In: YES 
      user_id=148712
      Originator: NO
      
      I Know it is not needed in any of the areas where I am familiar; threading stuff is not one of them. Reassigning to let the knowledgeable people shoot it out. Yes, I am a coward :P
      
      
    3. login: "msofer"
    4. mimetype: "text/plain"
    5. username: "msofer"
  9. Ticket change [a7107c1636] (rid 98720) by jenglish on 2008-08-05 15:01:54:

    1. 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
      
      
    2. login: "jenglish"
    3. mimetype: "text/plain"
    4. username: "jenglish"
  10. Add attachment "2017264.patch" [58926e6616] (rid 117827) by jenglish on 2008-08-05 15:01:54.

  11. Ticket change [4ee6cbcb24] (rid 125730) by jenglish on 2008-08-06 23:58:41:

    1. icomment:
      Logged In: YES 
      user_id=68433
      Originator: NO
      
      @das -- could you apply the patch and rerun autoconf?  I don't seem to have autoconf 2.61 anywhere.
      
      
    2. login: "jenglish"
    3. mimetype: "text/plain"
    4. username: "jenglish"
  12. Ticket change [ae4cf6fc7e] (rid 101619) by msofer on 2008-08-09 06:27:59:

    1. icomment:
      Logged In: YES 
      user_id=148712
      Originator: NO
      
      It'd be nice if this made it for the 8.6a2 release, so that we get early screaming (if any)
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  13. Ticket change [17c135e17e] (rid 122551) by das on 2008-08-09 06:35:28:

    1. icomment:
      Logged In: YES 
      user_id=90580
      Originator: YES
      
      agreed, will deal with it tomorrow, along with the dtrace NRE patch (any progress with the help you promised with that miguel ? ;-)
      
      
    2. login: "das"
    3. mimetype: "text/plain"
    4. priority changed to: "9 Immediate"
    5. username: "das"
  14. Ticket change [64f40a6c50] (rid 92865) by das on 2008-08-14 06:14:50:

    1. closedate changed to: "2008-08-13T23:14:50"
    2. closer changed to: "das"
    3. icomment:
      Logged In: YES 
      user_id=90580
      Originator: YES
      
      comitted
      
      
    4. login: "das"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "das"