Hello,
How to unload library or terminate running program in background?
Darius
Hello,
How to unload library or terminate running program in background?
Darius
“Darius” <alpha_byte@SAFe-mail.net> wrote in message
news:cfg2hc$o4m$1@inn.qnx.com…
Hello,
How to unload library or terminate running program in background?
For program the command is slay
Darius
hello
For program the command is slay
I’ve discovered that I can use kill. Is this correct?
ANd how about loading/unloading libraries? What to use?
Best regards,
Darius
Hello,
I’ve discovered that I can use kill. Is this correct?
ANd how about loading/unloading libraries? What to use?
I think that there is no way to load some custom *.so file and it can be
loaded from another program. Mostly all *.so file are loaded with managers.
This is what I found. Am I right?
Darius
Darius wrote:
Hello,
I’ve discovered that I can use kill. Is this correct?
ANd how about loading/unloading libraries? What to use?
I think that there is no way to load some custom *.so file and it can be
loaded from another program. Mostly all *.so file are loaded with managers.
This is what I found. Am I right?
Sounds like you are talking about drivers. Yes, some are indeed just
library based.
Mario Charest <nowheretobefound@8thdimension.com> wrote:
“Darius” <> alpha_byte@SAFe-mail.net> > wrote in message
news:cfg2hc$o4m$> 1@inn.qnx.com> …
Hello,How to unload library or terminate running program in background?
For program the command is slay
slay progname
kill pid
or, if using job control:
kill %jobnumber
Libraries can’t generally be manually unloaded. Can you give me
a better idea of what you are trying to do by unloading a library?
Please follow-up to newsgroup, rather than personal email.
David Gibbs
QNX Training Services
dagibbs@qnx.com
Hello,
Libraries can’t generally be manually unloaded. Can you give me
a better idea of what you are trying to do by unloading a library?
If honest I want to load *.so file. Unload isnt needed but I’m just asking
for reference. But still I don’t know how to load library without resource
managers.
Darius
Darius wrote:
Hello,
Libraries can’t generally be manually unloaded. Can you give me
a better idea of what you are trying to do by unloading a library?
If honest I want to load *.so file. Unload isnt needed but I’m just asking
for reference. But still I don’t know how to load library without resource
managers.
A driver as a *.so can be loaded by any program. It’s no different to
any other library and will be unloaded just the same as well.
“Darius” <alpha_byte@SAFe-mail.net> wrote in message
news:cfj5h7$5qq$1@inn.qnx.com…
Hello,
Libraries can’t generally be manually unloaded. Can you give me
a better idea of what you are trying to do by unloading a library?If honest I want to load *.so file. Unload isnt needed but I’m just asking
for reference. But still I don’t know how to load library without resource
managers.
There is no command to load a .so file into memory, it can only be done
programatically.
Darius
Darius <alpha_byte@safe-mail.net> wrote:
Hello,
Libraries can’t generally be manually unloaded. Can you give me
a better idea of what you are trying to do by unloading a library?If honest I want to load *.so file. Unload isnt needed but I’m just asking
for reference. But still I don’t know how to load library without resource
managers.
Depending on what .so you want to load, and why, often it is done with
the mount command.
For instance, if you wanted to mount the TCP/IP .so, you might do
something like:
mount -T io-net /lib/dll/npm-tcpip.so
But, you can’t “load” a .so in isolation under QNX – you are, in fact,
telling the manager that would use that .so to load it, and use it.
If the manager that would use the .so (in this case io-net) isn’t already
running, you’d have to run that manager first.
Please follow-up to newsgroup, rather than personal email.
David Gibbs
QNX Training Services
dagibbs@qnx.com