Tcl Source Code

View Ticket
Login
Ticket UUID: 232558
Title: Unix : There are MT-Unsafe system calls in Tcl8.3
Type: Bug Created on: 2001-02-15 18:02:06
Submitter: junruli Assigned to: kennykb
Subsystem: 49. Threading Severity:
Priority: 7 High Last modified: 2001-04-10 06:04:50
Status: Closed Closed by: kennykb
Resolution: Fixed Closed on: 2001-04-09 23:04:50
Version: obsolete: 8.3
Description:
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.
User Comments:
kennykb added on 2001-03-10 01:50:15:
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 ?

junruli added on 2001-03-15 01:04:16:
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 added on 2001-03-30 23:56:26:
Logged In: YES 
user_id=75003

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

kennykb added on 2001-04-10 06:04:50:
Logged In: YES 
user_id=99768

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