×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Sep 2006
    Posts
    37

    connector in multithreading?

    My code runs two connectors(different protocols) in two threads at the same time. But the responses go to the wrong connectors. Does the connector support multithresding?

  2. #2
    Regular Contributor
    Join Date
    Aug 2008
    Location
    Bournemouth, UK
    Posts
    65

    Re: connector in multithreading?

    hey i know these arent j2me specific but a few java multithreading guides are available to help you get the hang of it....

    multithreading in java
    Made With Caffiene And Sleepless Nights

  3. #3
    Nokia Developer Expert
    Join Date
    Jun 2005
    Posts
    923

    Re: connector in multithreading?

    Seeing a code excerpt would help!

    If you call Connector.open("something") twice, each on a different thread, they should return the corresponding connection to the same thread, since the resulting object is a new instance rather than a singleton or something like that.

    Daniel

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

    Re: connector in multithreading?


Similar Threads

  1. Multithreading issue in device drivers
    By SymbianDev10 in forum Symbian C++
    Replies: 1
    Last Post: 2007-09-04, 05:11
  2. RHTTPSession and multithreading Series60 v. 2
    By AlexanderK in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2005-05-11, 15:44
  3. Rthread samples or multithreading samples?
    By mayur_24 in forum Symbian C++
    Replies: 0
    Last Post: 2004-07-16, 14:23
  4. Somthing about connectin to my 7650.
    By akokchai in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2002-12-21, 13:07
  5. Connectin two controllers by TDMA mobile phones
    By gushin in forum General Messaging
    Replies: 0
    Last Post: 2002-11-12, 11:36

Posting Permissions

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