cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/23/03:38:32

From: "Damian Yerrick" <web DOT poison AT pineight DOT 8m DOT com>
Newsgroups: comp.os.msdos.djgpp
References: <19991022075024 DOT 4682 DOT rocketmail AT web115 DOT yahoomail DOT com>
Subject: Re: exit makes my program crash (I can't!!)
Lines: 36
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Message-ID: <XvcQ3.640$pD5.47218@dfiatx1-snr1.gtei.net>
X-Trace: /bCCZFuRKmxwAo/1n217BWgquJ/igJ982vSe5vvbW5F7oyBabjRz6ABagusnFS30t48c/ZjZrK9s!EBBA/LD1242MIDM1t9XYaAJfYQYQYnWu7D2/yn3Wc0fwXhH3/n1XTMTlq54OvchZblv64gol
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Sat, 23 Oct 1999 06:23:51 GMT
Distribution: world
Date: Sat, 23 Oct 1999 06:23:51 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Mohamed Saad <bazramit AT yahoo DOT com> wrote in message
news:19991022075024 DOT 4682 DOT rocketmail AT web115 DOT yahoomail DOT com...
>
> btw, how can i write a DOS program that
> does not use the CPU heavily??

Look up _dpmi_yield() in the libc docs

> isn't the program taking the whole time of the cpu??
> isn't it always executing instructions?
> well... even in Windows? what does a cpu usage of 50%
> mean??? isn't the processor always executing
> instructions??

That means that the other 50% of the time, the
processor is running a Windows process called
idle. If you want to donate that unused 50% to
science, visit http://www.distributed.net/
and download the RC5DES client.

> Thanx a lot!
> Urs forever,
>    Mohamed El Dawy
>
> Do You Yahoo!?

No I don't. I Dogpile.
http://www.dogpile.com/

Damian Yerrick
CM 398, Rose-Hulman Institute of Technology
5500 Wabash Ave | Terre Haute, IN 47803
http://come.to/yerrick <- redpinocchio
http://yerricde.tripod.com/ <- pinocchio's brother


- Raw text -


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