Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Mar 2010

    thread and fileconnection

    As far as I know, we have to use thared for multasking.
    For example , to make many objects move at the same time, we have to use thared.

    But why we have to use thread for fileconnection API.

  2. #2
    Super Contributor
    Join Date
    Mar 2008
    The Capital of INDIA

    Re: thread and fileconnection

    The root of the point is the blocking nature of the open() call. On some platforms, the system does the actual connection under the covers, on the equivalent of a separate thread so if will not put the call insdie the sepreate thread then system blocks until the connection is opened.

    At the same time, the security subsystem may require the user to confirm the connection.
    Thanks with Regards,

    R a j - The K e r n e l

    Join Delhi-NCR Nokia Developer's Community,

Similar Threads

  1. Replies: 17
    Last Post: 2009-10-15, 11:12
  2. Replies: 4
    Last Post: 2009-08-19, 20:58
  3. Replies: 3
    Last Post: 2009-07-07, 13:43
  4. Replies: 4
    Last Post: 2008-12-11, 20:05
  5. How to issue commands from a Thread to the (main) AppUI-Thread?
    By NevenS in forum Symbian User Interface
    Replies: 7
    Last Post: 2008-09-30, 17:09

Posting Permissions

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