Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Nov 2005

    How to communicate between threads in SDK3.0

    in SDK3.0,the RThread class does not have Raiseexception function ,can anyone tell me how to raise exception in SDK3.0?

  2. #2
    Nokia Developer Expert
    Join Date
    Jul 2003
    Vancouver, Canada

    Re: How to communicate between threads in SDK3.0

    Raising an exception in another thread as a communication method is a non-standard way for inter-thread communication.

    Use the more standard way of communicating between threads by using a semaphore and shared memory.

    You can also do inter-thread communication using the Symbian Client/Server framework.

    These techniques are described in the SDK examples.

    Hope this helps :-)
    Last edited by billbonney; 2006-03-09 at 15:25.

  3. #3
    Super Contributor
    Join Date
    Nov 2004
    Wiltshire, UK

    Re: How to communicate between threads in SDK3.0

    You are only allowed to raise an exception in the thread that is executing.

    You can do this via User::RaiseException.

    Arbitrarily crashing threads across processes is no longer allowed as it is viewed as a security issue.

Similar Threads

  1. Use of CConsoleBase with multiple threads
    By stichbury in forum Symbian
    Replies: 2
    Last Post: 2006-03-02, 01:20
  2. sdk3.0 with vb.net
    By gerald1002 in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2004-01-29, 04:53
  3. Replies: 0
    Last Post: 2003-09-16, 05:20
  4. Replies: 0
    Last Post: 2003-08-29, 12:28

Posting Permissions

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