Overview
| Artifact ID: | b1e193718fb0c53fdb3031536a120418bbd515cb |
|---|---|
| Ticket: | 731356ffffffffffffffffffffffffffffffffff
Win32 non-TLS thread storage patch... |
| User & Date: | mistachkin on 2003-05-11 18:41:09 |
Changes
- icomment:
Logged In: YES user_id=113501 I've made some progress on making this patch for "generic". However, I have a couple questions. I need a way to initialize/finalizing a mutex WITHOUT having ckalloc/ckfree being called. I still need InitializeCriticalSection/DeleteCriticalSection (or their Unix/Mac equivalents) to be called for the mutex. The threaded memory allocator currently uses TclpNewAllocMutex (a very puzzling function) and then never finalizes the mutex. The TclpNewAllocMutex is poorly documented and in the case of TCL_THREADS without USE_THREAD_ALLOC, unavailable. I feel there should be new platform specific functions added to the tcl{Unix|Win|Mac}Thrd.c files, such as TclpInitMutex/TclpDeleteMutex. For platforms that do not require these steps, the functions can be empty. - login: "mistachkin"
- mimetype: "text/plain"
- username: "mistachkin"