Overview
| Artifact ID: | 5357e64dab4c240e535ae6da0ca14b0be2a8b658 |
|---|---|
| Ticket: | 1967630fffffffffffffffffffffffffffffffff
tclLoadDl.c dlerror() is not thread safe |
| User & Date: | nijtmans on 2008-05-20 14:59:00 |
Changes
- icomment:
Logged In: YES user_id=61031 Originator: NO In functions like TclLoadFile and TclpLoadFile, TclpFindSymbol() is used multiple times and is not expected to modify the interp result. At least those functions need to be modified to reset the interp result after the last TclpFindSymbol() call. Further on, the same modification will be needed in tclLoadDyld.c as well (if the Mac-implementation is not thread-safe), and the TclpFindSymbol change is needed in tclLoadNext.c, tclLoadOSF.c, tclLoadShl.c and tclWinLoad.c as well. In practice, I doubt that this ever will be a practical problem, because normally all libraries are loaded in a single thread at start-up. But - strictly speaking - yes, I agree that the mutex should be there and TclpFindSymbol should leave an error-message in interp result as documented. Regards, Jan Nijtmans - login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"