Thread: Threading
View Single Post
Old Mar 23rd, 2008, 3:47 AM   #3
big_k105
PFO Founder

 
big_k105's Avatar
 
Join Date: Mar 2004
Location: Fargo, ND
Posts: 1,646
Rep Power: 10 big_k105 is on a distinguished road
Send a message via AIM to big_k105 Send a message via MSN to big_k105 Send a message via Yahoo to big_k105
Re: Threading

I used multi-threading on a program that I wrote that read information for a external scale and had to do a count of the number of items on the scale. The reason I used it was so the window wasn't froze and could still close the window after they were done dumping parts on the scale. Since there was no way to know when the user would stopped putting items on the scale, so it would constantly read from the scale until the user closed the window and then the thread would be killed.

Hope that makes sense
__________________
BIG K aka Kyle
Programming Forums
Kyle K Online

Please do not PM or email me programming questions. Post them in the forums instead.
big_k105 is offline   Reply With Quote