Overview
| Artifact ID: | 80ab65be9f83afe17a3e3dd20944dcf489533a5d |
|---|---|
| Ticket: | 424119ffffffffffffffffffffffffffffffffff
reentrant time functions patch |
| User & Date: | kennykb on 2001-06-04 22:54:36 |
Changes
- closedate changed to: "2001-06-04T15:54:36"
- closer changed to: "kennykb"
- icomment:
Logged In: YES user_id=99768 The patches fix a re-entrancy problem in a different way. The code on the current HEAD fixes TclpGetDate by making sure that the 'struct time_t' that it returns by pointer is in thread-specific data, while the submitted patch works by forcing the caller to provide a buffer. The way that the current HEAD does it has the advantage that it preserves the type signature of all the calls, hence any extension that includes "tclInt.h" and calls TclpGetDate will continue to work. It does require one more thread-specific buffer, but this seems a small price to pay.
- login: "kennykb"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "kennykb"