|
-
February 4th, 2008, 03:54 PM
#2
Re: Timer and function calls -- do i need multithreading?
Windows Forms Timers simply post a message in the message queue, and are not (from a programmers perspective) multi-threaded.
The proper thing to do is to move your processing to a background thread. The simplest way to do this is to "QueueUserWorkItem", then you do not have to do any management on the thread, the C# runtime will take care of it alll.
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions 
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|