Groups > Symbian > Symbian general discussion > Re: Killing app/server side resources




Killing app/server side resources

Killing app/server side resources
Fri, 01 Sep 2006 10:08:33 +020
Hello,

I have a question about killing an application in v7.0 or higher system.
If app has several window server, file server etc resources 
allocated/open and application is killed, what happens to server side 
resources. Are they closed or freed automatically?
I assume servers should logon to client threads and free all resources 
used by given thread when resources are still open and client thread 
died. Am I correct? Unfortunately I did not found any explicit info 
about that in sdk docs.

I understand this is a very general question.

Thank you
Post Reply
Re: Killing app/server side resources
Sun, 3 Sep 2006 22:33:52 -0000
You are correct. The kernel knows the state of the user side application -
it cleans up its client server objects and gets the server to do cleanup
too. I believe this is covered in the Symbian OS internals book.

Regards
Hamish

"Sebastian Wieczorek" <s.wieczorek@softline.net.pl> wrote in
message
news:ULgKZ4ZzGHA.5096@UKCOL01WWEB01.symbian.intra...
> Hello,
>
> I have a question about killing an application in v7.0 or higher system.
> If app has several window server, file server etc resources
> allocated/open and application is killed, what happens to server side
> resources. Are they closed or freed automatically?
> I assume servers should logon to client threads and free all resources
> used by given thread when resources are still open and client thread
> died. Am I correct? Unfortunately I did not found any explicit info
> about that in sdk docs.
>
> I understand this is a very general question.
>
> Thank you
> Sebastian Wieczorek

Post Reply
Re: Killing app/server side resources
Sun, 3 Sep 2006 22:39:09 -0000
Actually, can't remember if kernel does all cleanup, or if it gets server to
do it. However its definitely taken care of for you :-)

"Hamish Willee" <hamish_w@tpg.com.au> wrote in message
news:GlNf7k6zGHA.3788@UKCOL01WWEB01.symbian.intra...
> You are correct. The kernel knows the state of the user side application -
> it cleans up its client server objects and gets the server to do cleanup
> too. I believe this is covered in the Symbian OS internals book.
>
> Regards
> Hamish
>
> "Sebastian Wieczorek" <s.wieczorek@softline.net.pl> wrote
in message
> news:ULgKZ4ZzGHA.5096@UKCOL01WWEB01.symbian.intra...
> > Hello,
> >
> > I have a question about killing an application in v7.0 or higher
system.
> > If app has several window server, file server etc resources
> > allocated/open and application is killed, what happens to server side
> > resources. Are they closed or freed automatically?
> > I assume servers should logon to client threads and free all
resources
> > used by given thread when resources are still open and client thread
> > died. Am I correct? Unfortunately I did not found any explicit info
> > about that in sdk docs.
> >
> > I understand this is a very general question.
> >
> > Thank you
> > Sebastian Wieczorek
>
>

Post Reply
Re: Killing app/server side resources
Tue, 05 Sep 2006 08:42:56 +020
Hamish Willee wrote:
> Actually, can't remember if kernel does all cleanup, or if it gets server
to
> do it. However its definitely taken care of for you :-)

Whatever :) everything is cleaned up properly.

Thanks Hamish


Post Reply
about | contact