×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Apr 2006
    Posts
    2

    Info about processes and threads

    Hi,
    i've come to this forum cause i need some info about processes functions, and I haven't found any until the moment.I'm not sure that the current version has processes info access, as well as the ability to kill running processes.If someone has good links about the relationship between processes and python for series 60 platform, i'm interested, but if someone could tell me the main processes functions that can be used in Python, i would be very thankful

    Kind regards,
    Jullia

  2. #2
    Registered User
    Join Date
    Feb 2005
    Location
    Belgium (Europe)
    Posts
    1,352

    Re: Info about processes and threads

    Quote Originally Posted by jullia
    Hi,
    i've come to this forum cause i need some info about processes functions, and I haven't found any until the moment.I'm not sure that the current version has processes info access, as well as the ability to kill running processes.If someone has good links about the relationship between processes and python for series 60 platform, i'm interested, but if someone could tell me the main processes functions that can be used in Python, i would be very thankful

    Kind regards,
    Jullia
    hello ,

    miso module http://pdis.hiit.fi/pdis/download/miso/ has many functions for handling threads

    excerpt from http://pdis.hiit.fi/pdis/download/mi...-1.40-api.html

    get_thread_priority()
    The return values to expect are: EPriorityNull (-30, cannot be set by user code), EPriorityMuchLess (-20), EPriorityLess (-10), EPriorityNormal (0), EPriorityMore (10), EPriorityMuchMore (20), EPriorityRealTime (30), EPriorityAbsoluteVeryLow (100), EPriorityAbsoluteLow (200), EPriorityAbsoluteBackground (300), EPriorityAbsoluteForeground (400), EPriorityAbsoluteHigh (500, highest possible apart from the kernel).
    set_thread_priority(integer priority)
    get_process_priority()
    The return values to expect are: EPriorityLow (150), EPriorityBackground (250), EPriorityForeground (350), EPriorityHigh (450), EPriorityWindowServer (650), EPriorityFileServer (750), EPriorityRealTimeServer (850), EPrioritySupervisor (950).
    set_process_priority(integer priority)
    num_alloc_heap_cells()
    Returns the total number of cells allocated on the calling thread's heap.
    num_free_heap_cells()
    Returns the total number of free cells on the calling thread's heap.
    alloc_heap_cells_size()
    Returns the total size of the cells allocated on the calling thread's heap.
    heap_biggest_avail()
    Returns the space available in the largest free block an the calling thread's heap.
    heap_total_avail()
    Returns the total free space available on the calling thread's heap.
    check_heap()
    Checks the validity of the calling threads heap, raising a panic if any corruption is found.
    heap_base_address()
    Returns the base address of the heap of the running thread as an integer.
    alloc_heap_cell(integer size)
    Allocates a cell of at least the specified size from the current thread's heap.
    free_heap_cell(integer address)
    Frees the heap cell at the specified address. Passing an invalid address will result in a panic.
    pys60 1.4.5 and 2.0.0, pygame, PyS60 CE on E90 and 5800 !

    Find my pys60 extension modules on cyke64.googlepages.com

  3. #3
    Regular Contributor
    Join Date
    Aug 2004
    Posts
    295

    Re: Info about processes and threads

    jullia, I don't think there is good API to manipulate processes currently available. Of course implementing such with Symbian C++ is possible (look for the miso module for example).

  4. #4
    Registered User
    Join Date
    Apr 2006
    Posts
    2

    Re: Info about processes and threads

    Hello, cyke64.
    Thanks for your contribution!It will be very useful for sure

    Is there any function to kill processes in miso module?

    Regards,
    Jullia

Similar Threads

  1. BackGround Processes & Push Registry
    By isseyp in forum Mobile Java General
    Replies: 0
    Last Post: 2004-05-09, 06:36
  2. Making child Threads Exit
    By earamsey in forum Symbian
    Replies: 1
    Last Post: 2003-10-02, 09:30
  3. Processes, Threads, Recognizers
    By a_barbs in forum Symbian
    Replies: 2
    Last Post: 2003-07-08, 10:13

Posting Permissions

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