:D CITADEL IS MULTITASKING!

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
elderK

:D CITADEL IS MULTITASKING!

Post by elderK »

:D Sorry guys, I just..

YAYYYYYYYYYYY! I GOT IT!
:D

Latest Citadel test is basic.

It sets itself up, does all the MM initialization...

Starts threads.

Creates a 'Kernel' process.

Three threads in the Process
D1 = Kernel as it was.
D2 = Kernel Test Program A
D3 = Kernel Test Program B

Kernel itself, just loops.

KTPA prints MEOWWWWW on screen in Red.
KTPB prints ROARRRRRRRR on screen in blue.

All threads running, a crappy schedular, just to see if its working - and it is.
Its running through all threads in the Process.

Now I understand the need for Mutexes / Semaphore.

Its printing out like...

MEEOROAARWWWWROAMEOWWWROAR etc.

So, Im happy atleast Ive figured out the basic, basics of Multitasking.
Now I can seriously start prying away on increasing my MT knowledge,
like TSS stuff!.

:) YAYYYY

Oh, and my nose is bleeding randomly, I have no idea why, and its weird.

BUT YAYYYYYY :D

~Z
distantvoices
Member
Member
Posts: 1600
Joined: Wed Oct 18, 2006 11:59 am
Location: Vienna/Austria
Contact:

Re::D CITADEL IS MULTITASKING!

Post by distantvoices »

If you're doing roundrobin scheduling, don't expect any other behaviour, eh?

Regarding your nose: I've suffered from this too. Damn nose bleeding. But it's gone now. HOpe you get rid of it soon.
... the osdever formerly known as beyond infinity ...
BlueillusionOS iso image
elderK

Re::D CITADEL IS MULTITASKING!

Post by elderK »

Citadel is roundrobbin, I guess.
I dont know, Roundrobbin as I know it just cycles through available processes and their threads.

Citadel is the same I guess.

Starts off with a Quantum size.
New processes form

Each has half of the original quantum.
Each processes quantum is split up and dished out to the respective threads.

So, it cycles through the threads of a process, then goes to the next process and does the same.

So yeah, Roundrobbin. :) lol
:D It stopped, after like a freaking HOUR!? :P lol

~Z
Post Reply