| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Guess who`s back... ;) |
Some senseless babbling from Mario Semo to Ivan Todoroski
on 04 Dec 98 10:05:04 about Guess who's back... ;)...
MS> Hallo IVAN!
MS> Antwort auf eine Message von IVAN TODOROSKI an MARIO SEMO:
IT> Also, Process Commander does NOT do "who knows what".
The way it
IT> changes other process' priority is totaly documented and supported by
IT> the OS/2 API. It is a simple DosSetPriority() call. Don't see
MS> wasn't it PC who added a second thread to EACH application in the
MS> system? or something else added to the system with WARP4. at least
MS> every and each app in the system has (under WARP4) one thread more then
MS> under WARP3. i name this "do who knowns what".
MS> ( as i reember it was the application which was previously (under OS2
MS> 3.x) called WatchCat. isnt this PC today?).
MS> and WHAT threads are changed when PC calls DosSetPriority? my App has
MS> 16 threads. each with different priorities. some idle, some TC.
DosSetPriority() has two scope parameters. The first one specifies whether
the call is to affect a thread, a process, or a process and all of its
descendants. The second gives the ID of the process/thread, depending on
the setting of the first. Using zero for the second parameter defaults to
the current process/thread.
IT> Take any DOS assembler (even DEBUG will do) and create a simple
IT> program (.COM or .EXE, no matter) with this piece of code in it:
IT> cli
IT> x:
IT> jmp x
IT> Execute this in a DOS window.
MS> mh. at moment not the time to test it (just in case), but as i
MS> remember it doesnt crash my system with WARP4 as i tested it long ago.
MS> But it DEFINITLY crash any OS2 2.x system. (simple because cli was not
MS> virtualized and so really clears the interrupt enable).
I don't think OS/2 2.x has the fast virtualization routines, but it will
also crash any non-Intel processor, or early-step 486 or lesser Intel
processors.
Unless, of course, the machine has a watchdog timer.
And as you said in the snipped portion, it's not a priority issue.
Mike Ruskai
thanny{at}home.com
... Never underestimate the power of human stupidity.
--- Renegade v05-11 Exp
* Origin: The Licking Factory, OS/2 in NJ! (732)815-3146 (1:107/634)SEEN-BY: 396/1 632/0 371 633/260 267 270 371 635/444 506 728 639/252 670/218 @PATH: 107/634 451 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™.