×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Dec 2009
    Posts
    7

    MultiThread with Note.

    Hi,happy new year!
    A new question today^^.
    I am using a multithread for a "data_arrival" routine for no stuck the main thread.
    But...
    When i call "appuifw.note(u"text", "something")",inside the 2nd thread,my application crash...appuifw.note isn't thread safe?How resolve?

  2. #2
    Super Contributor
    Join Date
    Nov 2007
    Location
    Sertaozinho/Brazil
    Posts
    768

    Re: MultiThread with Note.

    Quote Originally Posted by ixiodor View Post
    When i call "appuifw.note(u"text", "something")",inside the 2nd thread,my application crash...appuifw.note isn't thread safe?How resolve?
    No, it is not. How to resolve it ? Redesigning. Separate UI from thread code. Use interprocess mechanisms to exchange data among threads. I think there is no easy way, you need to rethink your code.

    As an example, please take a look in the application Multi thread page download. The entire section may be interesting for you.

Similar Threads

  1. GoogleIt
    By deepika.mangla in forum Symbian
    Replies: 5
    Last Post: 2011-05-28, 11:04
  2. Error loading connection when obfuscation high?
    By ejakkk in forum Mobile Java General
    Replies: 8
    Last Post: 2009-06-26, 12:54
  3. Error while making sis file
    By lalitjadiya in forum Symbian
    Replies: 9
    Last Post: 2008-05-20, 17:18

Posting Permissions

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