Results 1 to 2 of 2

Thread: Threading in Timers

  1. #1

    Thread Starter
    Registered User
    Join Date
    Aug 2013
    Posts
    1

    Threading in Timers

    In my Application, I want to insert some values into the database for each and every second.
    This application will have to connect to different systems(Clients).

    I wrote this code in timer running for each second(1000ms). Inside timer i put a loop, iterating for number of clients, if any one of them is unable to connect to the server system,
    The remaining clients will have to wait for some time, then the loop will not run for each second.

    So i want to use threading concept, but i am not sure how to use threading in timers, so please help me with this..

    Thanks in advance

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Threading in Timers

    Moved From The CodeBank (which is for sharing code rather than posting questions )

Posting Permissions

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



Click Here to Expand Forum to Full Width