Message-ID: <389C8028.CD9DC3FD@t-p-l.com> From: Robin Johnson Organization: Orbit Computers X-Mailer: Mozilla 4.5 [en]C-AtHome0405 (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Threads Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 18 Date: Sat, 05 Feb 2000 19:55:31 GMT NNTP-Posting-Host: 24.113.36.103 X-Complaints-To: abuse AT home DOT net X-Trace: news1.rdc1.bc.home.com 949780531 24.113.36.103 (Sat, 05 Feb 2000 11:55:31 PST) NNTP-Posting-Date: Sat, 05 Feb 2000 11:55:31 PST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Anybody know how to do 2 simultaneous threads in a DJGPP program? I want to make a STL queue of a structure and just have my main code to add items onto the queue, that a separate thread in my program is handling at the same time. I think I could probably hook into the timer interrupt, but my queue handler thread could take a little long, and mess up the timing. -- Robin Hugh Johnson "Robbat2" QTOD: "I used to be an idealist, but I got mugged by reality." E-Mail : robbat2 AT robbat2 DOT t-p-l DOT com ICQ# : 30269588 or 41961639 Home Page : http://robbat2.t-p-l.com Time Zone : Pacific Daylight (GMT - 8)