×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jun 2009
    Posts
    6

    returning to main thread

    hi. i am stuck in a thread after receiving an incoming sms. i want to check the sms content, and if it is the content i want, HOW DO I GO BACK TO MY MAIN THREAD? thanks (:

  2. #2
    Nokia Developer Champion
    Join Date
    Apr 2007
    Posts
    2,708

    Re: returning to main thread

    are we actually talking about a thread or maybe some screen ?
    alos you might just kill the secondary thread when it's done, that will happen automagically when he finishes it's run() method...

  3. #3
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: returning to main thread

    The point of having threads (when there is really a point) is to be able to do things in parallel. So you are not stuck in a thread, you are in both threads at the same time. So you hust jave to let one finish.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

Similar Threads

  1. Emulator crash immediatly after launched, SDK of S60 3nd
    By loopfinder in forum Symbian Tools & SDKs
    Replies: 27
    Last Post: 2011-01-30, 14:06
  2. Buggy AMR Audio Recording. Please Help!!
    By jhamby in forum Symbian C++
    Replies: 8
    Last Post: 2009-07-07, 10:34
  3. Replies: 4
    Last Post: 2009-07-07, 10:07
  4. 为什么会启动这么多的线程
    By shaojieli in forum Symbian
    Replies: 1
    Last Post: 2008-08-19, 05:34

Posting Permissions

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