Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-10
06:04 • Closed ticket [232558ffff]: Unix : There are MT-Unsafe system calls in Tcl8.3</i... artifact: fa61cd6e38 user: kennykb
2001-03-30
23:56 • Ticket [232558ffff]: 4 changes artifact: 722e6134fb user: andreas_kupries
2001-03-15
01:04 • Ticket [232558ffff]: 4 changes artifact: 4e5f3de4c8 user: junruli
2001-03-10
01:50 • Ticket [232558ffff]: 5 changes artifact: f759448b27 user: kennykb
2001-03-09
22:02 • Ticket [232558ffff]: 2 changes artifact: 5fd5a0f733 user: dkf
2001-02-15
18:02 • New ticket [232558ffff]. artifact: 14f0aef4c7 user: junruli

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

Closed / Fixed232558ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2001-02-15 18:02:06
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.
dkf Ticket [232558ffff]: 2 changes [History diff]2001-03-09 22:02:18
kennykbplain2001-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 ?
junruliplain2001-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_kupriesplain2001-03-30 23:56:26
Logged In: YES 
user_id=75003

See also Bug #219136. Shall I assign that one to you too,
kenny ?
kennykbplain2001-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.
Log in (anonymous is fine) to add a comment.