| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | TC++ Delay() function... |
Hello, KK> for timeouts online and loss of carrier. I don't know if you have to KK> hardcode those or if there is an ISR that kicks the door back to Well I use the opendoors comm library which automatically checks for those things with every call to a OD function... KK> system if the DTR drops or too much time passes with no activity. You KK> might want to look into using the BIOS timer, which keeps the system KK> clock ticks since midnight. You can find it at 0x0040006c. An So I could use this instead of the delay() function? KK> release_time_slice() would be replaced by whatever code you would be KK> using to make your app multitask friendly. It would return the unused KK> portion of its time to the Operating System to be used to keep the KK> other apps going. Yes... I have functions to give up timeslices, and there is also a spawn function which updates timer pointers, and does a lot of other things and should be called at least once a second...the main thing I have to fix is all the places where I am using that basic delay() function... when the bbs slows down, the delay times REALLY slow down.. but like that spiral that was fixed, I want to apply the same idea whereever I use the delay fucntion to cut down or lessen these slowdowns . :) Thanks for the code... ... Homer Simpson, sir. One of your stiffs in sector 7-G. - Smithers -*- SabreEDIT v1.72a+ [STS97] --- Ezycom V1.48g0 01fa0167* Origin: Milky Way, Langley, BC [604] 532-4367 (1:153/307) SEEN-BY: 396/1 632/0 371 633/260 262 267 270 371 634/397 635/506 728 639/252 SEEN-BY: 670/218 @PATH: 153/307 8086 800 140/1 396/1 633/260 635/506 728 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.