G
Ggianks
Hi all,
I'm writing a program with the particul need to be able to load a
possible unstable code, wich may causes mem leaks or segfault, from
some libraries in a safe way wich preserve the program execution.
Is there a way to prevent the process to crash if a segfault occurs in
the thread that loaded the dangerous code without causing an undefined
behavior of the whole app ?
Is possible, in the same way, avoid memory leaks after the library
unload ( and thread termination, not process end ) ?
Thanks.
Regards
Gianluca
I'm writing a program with the particul need to be able to load a
possible unstable code, wich may causes mem leaks or segfault, from
some libraries in a safe way wich preserve the program execution.
Is there a way to prevent the process to crash if a segfault occurs in
the thread that loaded the dangerous code without causing an undefined
behavior of the whole app ?
Is possible, in the same way, avoid memory leaks after the library
unload ( and thread termination, not process end ) ?
Thanks.
Regards
Gianluca