Re: unload state
- From: Matthias Kraft <Matthias.Kraft@xxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 29 Jun 2007 08:33:02 GMT
rene schrieb:
* how can I detemine when the library is really detached and I can
again call load? In the documentation
I only found " When both reference counts have reached 0, the
library will be detached from the process.".
But how can I find this either on C or Tcl level.
I don't about Windows or Mac, but for POSIX conforming systems have a
look at the dlopen()/dlclose() interfaces - and read very carefully.
You can't unload a C extension from Tcl up to and including 8.4. For
a possibility with 8.5 have a look here: http://wiki.tcl.tk/10852
* what is the preferred way to do a unload? Currently there is no API
in the "package" command.
May be something new like "package unload..."
[package] is for Tcl packages. Plain Tcl packages can be forgotten:
package forget foo
kind regards
--
Matthias Kraft
Software AG, Germany
.
- Follow-Ups:
- Re: unload state
- From: rene
- Re: unload state
- References:
- unload state
- From: rene
- unload state
- Prev by Date: Re: How to implement pointer operation
- Next by Date: Re: A widget for the user's editor of choice
- Previous by thread: unload state
- Next by thread: Re: unload state
- Index(es):
Relevant Pages
|