Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Dec 2010

    Question concurrency question


    I am maintaining a QList of objects in my application. Using a timer, I go through the list every five seconds and update some of the objects in the list. I also get notifications from the os to add new objects or update existing ones.

    My question is: how can I tell how many threads running in my applications? If there are more than one, do I need a mutex to lock my code?


  2. #2
    Super Contributor
    Join Date
    Nov 2009
    Minnesota, USA

    Re: concurrency question

    There's only one thread unless you start more.

Similar Threads

  1. midlet that uses concurrency
    By widetech1 in forum Mobile Java General
    Replies: 5
    Last Post: 2009-04-06, 09:45
  2. a question about command and a question about s60
    By t4kesting in forum Mobile Java General
    Replies: 0
    Last Post: 2006-01-24, 08:21
  3. second question :-)
    By koolgi in forum [Archived] Other Programming Discussion 关于其他编程技术的讨论
    Replies: 1
    Last Post: 2003-08-22, 11:21
  4. second question :-)
    By koolgi in forum Mobile Java General
    Replies: 2
    Last Post: 2003-08-22, 11:21
  5. Replies: 1
    Last Post: 2003-04-14, 03:14

Posting Permissions

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