removing module
- From: Bart <uzi18@xxxxx>
- Date: Mon, 30 Apr 2007 23:08:30 +0200
I have static linked module in application plugin.
Thirst thing how to remove this module from memory after Py_Finalize();
Because there is segfault after - deactivate,activate this plugin.
PyImport_AppendInittab("module_name",init_module_name);
Py_Initialize();
How to check what provides this module ?
import sys
print sys.modules (is loaded?)
dir(module_name) is it enough?
Thanks for Help.
Bart.
.
Relevant Pages
- Re: Problem with samba netdrive plugin
... in firefox, ... The Netdrive plugin ... least, in "linear memory usage by process", that I don't understand ... active connections via PEER, I can only rely on one active samba ... (comp.os.os2.networking.misc) - Re: removing module
... Thirst thing how to remove this module from memory after Py_Finalize; ... Because there is segfault after - deactivate,activate this plugin. ... using PyImport_AppendInitTab you tell Python how to initialise it when someone imports the module. ... (comp.lang.python) - Re: Using dlopen on the samefilename twice
... >>memory, as they need to be passed different parameters. ... Using mmap/munmap/mprotect allows such control of the address space in Linux. ... You can also make the plugin as a ET_EXEC file instead of a ET_DYN file. ... See "Linker Scripts": info ld; ... (comp.os.linux.development.apps) - Re: question about CRT boundries
... I have often developed classes that were defined in one dll and passed ... memory internally. ... though often time the CRT instance of the plugin is completely different ... (microsoft.public.vc.stl) - Re: Using dlopen on the samefilename twice
... > I need a way to load a shared object into memory twice using dlopen. ... > plugin instantiation and pass it different values. ... (comp.os.linux.development.apps) |
|