| Ticket UUID: | 1111134 | ||
| Title: | [unload] and shared lib detaching | ||
| Type: | Bug | Created on: | 2005-01-27 23:56:24 |
| Submitter: | dgp | Assigned to: | kennykb |
| Subsystem: | 40. Dynamic Loading | Severity: | |
| Priority: | 8 | Last modified: | 2008-06-25 03:15:04 |
| Status: | Open | Closed by: | |
| Resolution: | Remind | Closed on: | |
| Version: | obsolete: 8.5a3 | ||
| Description: | ||||
interp create i interp create j i eval [list load $file] j eval [list load $file] i eval [list unload -keeplibrary $file] j eval [list unload $file] Interp i wants library $file to be kept in the process. After the commands above, will it still be kept? Or will the [unload] in interp j have detached it? Seems that interp i could have its wishes granted if the -keeplibrary option caused interp i not to decrement its refcount on $file. It's not clear to me from a brief scan of the source code whether or not that happens. | ||||
| User Comments: | ||||
hobbs added on 2005-01-28 07:34:37:
Logged In: YES user_id=72656 That's a good point - is that library "marked" (as would probably be expected), or is it just a one-call check? Perhaps the -keeplibrary should change to -keepopen in the 'load' call (with TIP#239), and become a mark on the library? dgp added on 2006-03-24 05:22:34:
Logged In: YES user_id=80530 see 1452058 for more details dgp added on 2007-09-05 22:29:14:
Logged In: YES user_id=80530 Originator: YES Time's running out to get this detail of [unload] functioning resolved before beta. dgp added on 2007-12-04 01:48:20:
Logged In: YES user_id=80530 Originator: YES anything left here that should block 8.5.0 ? dgp added on 2007-12-07 02:34:42:
Logged In: YES user_id=80530 Originator: YES Appears this will be unresolved in the 8.5.0 release. dgp added on 2008-06-25 03:15:04:
Logged In: YES user_id=80530 Originator: YES any hope for tackling this for 8.5.3 ? | ||||
