Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2008-06-25
03:15 • Ticket [1111134fff] unload and shared lib detaching status still Open with... artifact: f19d452a1f user: dgp
2007-12-07
02:34 • Ticket [1111134fff]: 5 changes artifact: 30113793d0 user: dgp
2007-12-04
01:48 • Ticket [1111134fff]: 4 changes artifact: 9780eb3490 user: dgp
2007-09-07
16:15 • Ticket [1111134fff]: 1 change artifact: 7df76e666e user: dkf
2007-09-05
22:29 • Ticket [1111134fff]: 4 changes artifact: cc490f1340 user: dgp
2006-03-24
05:22 • Ticket [1111134fff]: 4 changes artifact: 6e989f8657 user: dgp
2006-03-10
13:38 • Ticket [1111134fff]: 1 change artifact: a700765d3d user: dgp
2005-01-28
07:34 • Ticket [1111134fff]: 4 changes artifact: c868c97421 user: hobbs
2005-01-27
23:56 • New ticket [1111134fff]. artifact: f32a68549e user: dgp

[unload] and shared lib detaching

Open1111134fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 18 years ago
Descriptionplain2005-01-27 23:56:24
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.
hobbsplain2005-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 Ticket [1111134fff]: 1 change [History diff]2006-03-10 13:38:44
dgpplain2006-03-24 05:22:34
Logged In: YES 
user_id=80530


see 1452058 for more details
dgpplain2007-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.
dkf Ticket [1111134fff]: 1 change [History diff]2007-09-07 16:15:33
dgpplain2007-12-04 01:48:20
Logged In: YES 
user_id=80530
Originator: YES


anything left here that
should block 8.5.0 ?
dgpplain2007-12-07 02:34:42
Logged In: YES 
user_id=80530
Originator: YES


Appears this will be unresolved 
in the 8.5.0 release.
dgpplain2008-06-25 03:15:04
Logged In: YES 
user_id=80530
Originator: YES


any hope for tackling this for 8.5.3 ?
Log in (anonymous is fine) to add a comment.