delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/12/09/20:17:59

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: "Derek" <djny AT flashmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Does LWP need a coprocessor?
Lines: 25
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Message-ID: <eXTQ7.3442$dB5.286843@news.uswest.net>
Date: Sun, 9 Dec 2001 19:09:10 -0600
NNTP-Posting-Host: 207.109.199.183
X-Trace: news.uswest.net 1007946570 207.109.199.183 (Sun, 09 Dec 2001 19:09:30 CST)
NNTP-Posting-Date: Sun, 09 Dec 2001 19:09:30 CST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I compiled a program that uses the LWP multitasking library but was unable
to run it on a 386 machine. I got this message:

Exiting due to signal SIGNOFP
Coprocessor not available at eip=000035e7
...


My machine does not have a math coprocessor. Is this why the program won't
run?

If this is so, is there any other alternative I could use for
multithreading?

Or maybe I don't need to multithread? Here's my situation: I need to
constantly monitor the serial port while also doing a second countdown timer
from 15. To the best of my knowledge, the timer would require using sleep(1)
but this would also pause the serial checking loop if I had both processes
in the same function. So is there any other option besides multithreading?

Thanks,

Derek Young


- Raw text -


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