| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Dos Programming - Os/2 S |
Hi Peter!
[..]
PF> Here's the beef: DosSleep(0) releases the remainder of the current...
PF> DosSleep(1) will cause the current thread to to marked as idle. ...
Jep, I see. I thought it must be this way or alike.
PF> Moral of the story: Call DosSleep(1) in your polling loops, or else
PF> "Pulse" will be unhappy.
:)
PF> The "Pulse" program is not very useful, but we are all stuck
PF> programming for it, now that all the lusers are running it.
But well, if I increase the number of running threads, the overall
performance goes down - that's why I think the system is fully loaded. I
only wanted to determine OS/2's thread-switching-time. But I found it to be
really difficult how to gain precise results - I think the switching time
is below 55 microsecs on a 486/66. But as someone claimed here QNX would do
this on only 6 microsecs, I wanted to know it exactly.
PF> What this does not show, and which is much more interesting, is if
PF> the CPU is available for demand...
You're absolutely right, but how is there a way to measure this ?
__
|_) Internet: Haller{at}ti-nov1.fbe.fh-weingarten.de
cu/2.1 |atrick Fidonet: 2:246/2320.18 ZebraNet: 7:7000/7998
--- FleetStreet 0.88wb
* Origin: Zebra / Uplink / Bodensee Bitbeisser Crew ! (2:246/2320.18)SEEN-BY: 54/54 620/243 632/348 640/820 690/660 711/409 413 430 807 808 809 SEEN-BY: 711/934 712/353 623 713/888 800/1 2442/0 @PATH: 246/2320 2300 2200 2426/2000 24/24 396/1 3615/50 229/2 @PATH: 2442/0 711/409 54/54 711/808 809 934 |
|
| 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™.