Skip to content
Tcl Source Code History Of Ticket 547989ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 547989ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 547989ffffffffffffffffffffffffffffffffff

  1. Ticket change [a2ddc2dff4] (rid 109964) by dkf on 2002-04-24 09:57:59:

    1. assignee initialized to: "andreas_kupries"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      The following publically-named API functions are
      undocumented.
      
      Tcl_GetAllocMutex (mac/tclMacThrd.c)
      Tcl_GetAllocMutex (unix/tclUnixThrd.c)
      Tcl_GetAllocMutex (win/tclWinThrd.c)
      
      
    4. foundin initialized to: "obsolete: 8.4a5"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "dkf"
    9. subsystem initialized to: "49. Threading"
    10. title initialized to: "Undocumented public API: threads"
    11. type initialized to: "Bug"
  2. Ticket change [a1cca934af] (rid 109787) by andreas_kupries on 2002-05-15 02:15:05:

    1. assignee changed to: "hobbs"
    2. icomment:
      Logged In: YES 
      user_id=75003
      
      It is also exported through the public stub table.
      
      Its description however indicates that it is more
      an internal function required for the initialization
      of the memory allocation subsystem (MAS) of the
      core.
      
      IMHO making it public makes sense only if we allow
      the replacement of the MAS by an external system.
      Something I consider unlikely.
      
      Hm, ports to PDA's ? ... No, not even for such.
      They most likely will use a different allocator,
      yes, but that is part of the porting work. The
      change is not externally visible.
      
      So, my recommendation for now is to not to
      document this function and to make it internal
      in the next major release of the core.
      
      I will assign this now to Jeff to get his
      opinion too.
      
      
      
    3. login: "andreas_kupries"
    4. mimetype: "text/plain"
    5. username: "andreas_kupries"
  3. Ticket change [e052843ca8] (rid 115168) by hobbs on 2002-07-25 03:09:29:

    1. assignee changed to: "vasiljevic"
  4. Ticket change [37076fdf71] (rid 107205) by dgp on 2003-04-14 11:11:54:

    1. priority changed to: "7 High"
  5. Ticket change [35512f44a4] (rid 106902) by vasiljevic on 2007-06-30 22:59:55:

    1. icomment:
      Logged In: YES 
      user_id=95086
      Originator: NO
      
      I have very little experience with stub exported calls.
      It is definitely so that above are to be used only internally
      and should therefore be named as TclpGetAllocMutex or such.
      They should not be exported.  
      
      So what to do? Wait for 9.0 and scrap them out of the 
      public API?
      
      
    2. login: "vasiljevic"
    3. mimetype: "text/plain"
    4. username: "vasiljevic"
  6. Ticket change [fc69617e85] (rid 108234) by dkf on 2007-07-01 01:04:05:

    1. icomment:
      Logged In: YES 
      user_id=79902
      Originator: YES
      
      I agree (given comments here) that it probably should be called TclpGetAllocMutex, and should have MODULE_SCOPE, but who knows who is calling it? :-( So, I suggest doing the rename and then creating a wrapper function (called Tcl_GetAllocMutex) that calls the real function. (Maybe while printing a message stderr that an unsupported/deprecated API has been called?) There should also be a comment in tcl.decls beside the function declaration that indicates that the function is deprecated and likely to be removed in 9.0.
      
      With that done, open a separate FRQ ticket to remind us to revisit this (i.e. remove the function) for 9.0, which is when we allow that sort of ABI change. With *that* done, close this ticket.
      
      Does this make things clear?
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  7. Ticket change [12b9d6fad9] (rid 124094) by vasiljevic on 2007-07-01 02:30:03:

    1. icomment:
      Logged In: YES 
      user_id=95086
      Originator: NO
      
      All is clear.
      
      
    2. login: "vasiljevic"
    3. mimetype: "text/plain"
    4. username: "vasiljevic"
  8. Ticket change [6ecb6c7e6e] (rid 100203) by dgp on 2007-10-31 23:55:36:

    1. priority changed to: "9 Immediate"
  9. Ticket change [342bd2dd06] (rid 106713) by dkf on 2007-12-13 18:49:26:

    1. icomment:
      Logged In: YES 
      user_id=79902
      Originator: YES
      
      Looking in the 'changes' file, I see this:
      
      8/9/99 (internal api change) Removed the TclpMutexLock and TclpMutexUnlock
      APIs and added a new exported api, Tcl_GetAllocMutex. These APIs are all for
      the mutex used in the simple memory allocators.  By making this change
      we are able to substitute different implementations of the thread-related
      APIs without having to recompile the Tcl core. (welch)
      
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  10. Ticket change [af6517005c] (rid 97804) by dkf on 2008-03-20 17:00:06:

    1. icomment:
      Logged In: YES 
      user_id=79902
      Originator: YES
      
      It seems to me that the right thing to do is to switch this to a call in the internal stubs table; anything poking this deep needs to beware the dragons anyway. Hence it is better not documented (other than perhaps in comments in tclInt.decls and the rest of the sources).
      
      Dropping prio; no way should this block the 8.5.2 release!
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. priority changed to: "7 High"
    5. username: "dkf"
  11. Ticket change [6ddd10d310] (rid 133810) by dkf on 2013-09-10 18:50:06:

    1. closer changed to: "nobody"
    2. comment changed to:
      The following publically-named API functions are
      undocumented.
      
      Tcl_GetAllocMutex (mac/tclMacThrd.c)
      Tcl_GetAllocMutex (unix/tclUnixThrd.c)
      Tcl_GetAllocMutex (win/tclWinThrd.c)
      
    3. icomment:
      See branch [http://core.tcl.tk/tcl/timeline?r=bug-547989|bug-547989] for proposed code.
      
    4. login: "dkf"
    5. mimetype: "text/x-fossil-wiki"
    6. severity changed to: "Minor"
    7. username: "dkf"
  12. Ticket change [7f87b270df] (rid 133811) by dkf on 2013-09-10 18:51:40:

    1. login: "dkf"
    2. mimetype: "text/plain"
    3. priority changed to: "4"
  13. Ticket change [ee726db741] (rid 139430) by dgp on 2014-08-29 16:04:13:

    1. icomment: "heh. This one got away."
    2. login: "dgp"
    3. mimetype: "text/plain"