From: "Paradox" Newsgroups: comp.os.msdos.djgpp Subject: Threads Date: 13 May 1999 17:52:40 PDT Organization: Concentric Internet Services Lines: 10 Message-ID: <7hfs4o$5s0@chronicle.concentric.net> NNTP-Posting-Host: ts023d09.chi-il.concentric.net X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com My programs seem to run very slow because I have multiple loops going on for input, AI, Graphics and such. How do I write threads for each seperate section. My games run so slow, that I once tested how slow they run. I set up a variable that subtracted itself when the user hit the <- button. It took several seconds for the number to subtract. I often have to hold down the esc button for several seconds to quit. Paradox.