You Are Here:

Community: Developer Discussion Boards

#1 Old Prevent python getting closed by kernel - 2007-05-18, 17:28

Join Date: Jan 2007
Posts: 9
Location: Bangalore, India
prashanth_ym
Offline
Registered User
Hi,

I am having some problems with python . My python instance keeps getting closed by kernel (may be due to memory shortage). Can the python app being closed by the kernel be prevented.

For example, is there any command in python equivalent to "setSystem(true) in C++".
"setSystem(true) in C++" marks the task as a system task and would not be killed by kernel. Is there an equivalent command in python.

Thanks,
Prashanth
Reply With Quote

#2 Old Re: Prevent python getting closed by kernel - 2007-05-18, 20:23

Join Date: Jan 2007
Posts: 135
Location: Oulu, Finland
GameDude
Offline
Regular Contributor
No there is not ( or I don't know about it ). You'll need to recompile the Python appui -module and add the iEikonEnv->SetSystem( ETrue ) -line yourself. Works for me.
Last edited by GameDude : 2007-05-18 at 20:32.
Reply With Quote

#3 Old Re: Prevent python getting closed by kernel - 2007-05-21, 11:30

Join Date: Jan 2007
Posts: 9
Location: Bangalore, India
prashanth_ym
Offline
Registered User
Hi Gamedude,
Thanks for the reply.
I was hoping there would be a module to setstatus something similar to miso which allows changing priority.
I will try to recompile python with the change you have suggested.

Thanks,
Prashanth
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Please help installing Python libraries on S60 ericroijen Python 11 2009-07-18 11:43
e32.ao_sleep memory leak if Python closed GameDude Python 2 2007-02-09 11:41
Debugging of Program closed: Python JOM Python 1 2006-09-01 09:11
App. closed Python - error reporting gotzingerdan Python 1 2005-04-01 16:30
Problem of install nokia_c110 on linux nonexist Multimodecards 1 2002-12-13 11:21

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia