#1433 Unix : There are MT-Unsafe system calls in Tcl8.3

obsolete: 8.3
closed-fixed
7
2001-04-09
2001-02-15
No

Tcl need to check system calls for MT-Safe issue.
Like localtime in tclUnixTime.c, which is MT-Unsafe.
There are others occurence as well.

Discussion

  • Donal K. Fellows

    • milestone: 100100 --> obsolete: 8.3
    • assigned_to: nobody --> kennykb
     
  • Kevin B KENNY

    Kevin B KENNY - 2001-03-09
    • priority: 5 --> 7
     
  • Kevin B KENNY

    Kevin B KENNY - 2001-03-09

    Logged In: YES
    user_id=99768

    The issue with 'localtime' (and related calls in tclUnixTime.c) is confirmed, and I'll try to work up a patch.
    Can you submit separate bug reports for any non-thread-safe calls that are outside tclUnixTime.c ?

     
  • Christina.Junru.Li

    Logged In: YES
    user_id=154658

    Kevin :
    For your question : "Can you submit separate bug reports
    for any non-thread-safe calls that are outside tclUnixTime.c
    ?"
    I could do this, if I have time. It is time-consuming to
    check every system call in Tcl to make sure they are
    MT-safe.
    I am sorry I don't have enough time to do this.But I will
    try to follow up if I have more specific information.
    Let me know your finding as well.
    Thanks!

    Christina Li @ lucent

     
  • Andreas Kupries

    Andreas Kupries - 2001-03-30

    Logged In: YES
    user_id=75003

    See also Bug #219136. Shall I assign that one to you too,
    kenny ?

     
  • Kevin B KENNY

    Kevin B KENNY - 2001-04-09

    Logged In: YES
    user_id=99768

    Changes to use gmtime_r and localtime_r, if available, have been committed to the HEAD.

     
  • Kevin B KENNY

    Kevin B KENNY - 2001-04-09
    • status: open --> closed-fixed