Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

DPMILD32 issues - spawn trouble: solution found ??? (DOSX)

posted by Japheth Homepage, Germany (South), 21.02.2008, 12:42

> Just what does "to some extent" mean exactly.

"to some extent" means: "to a certain extent" (sorry for my bad English :-D )

Thread priorities aren't supported, but "SetThreadPriority()" isn't a no-op, because changing a thread's priority to "real-time" will have "some" impact - IIRC.

> Does HX implement priority boosting?

There is some code suggesting that it is implemented, but it is almost 12 years old and I doubt it will survive a review - therefore I don't even try.

> How does it handle file I/O and other DOS calls?

It calls int 21h with register AX set "properly".

When the "indos" flag is set, no thread switching is done.

> What is the timeslice, and can it be changed?

it is 20 ms and it can be changed in the source.

> Does a complete timeslice have to have elapsed before a context-switch can
> occur?

"Usually" yes. :-D

> What timer does it use - the PIT#0 or the RTC interrupt?

The RTC - "usually" (that is, it can optionally be changed to use the PIT timer).

> Can an application reprogram PIT#0 without it screwing up the task
> scheduler?

The scheduler might not be worried too much. But why should a Win32 program come to think that it can "reprogram" the hardware?

---
MS-DOS forever!

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 260 users online (0 registered, 260 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum