delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/05/15:37:02

Message-ID: <389C8028.CD9DC3FD@t-p-l.com>
From: Robin Johnson <robbat2 AT b3041o6b532i DOT bc DOT hsia DOT telus DOT net>
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
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)


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019