Page 1 of 1

:D CITADEL IS MULTITASKING!

Posted: Sat Sep 30, 2006 8:54 am
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

Re::D CITADEL IS MULTITASKING!

Posted: Sun Oct 01, 2006 2:14 am
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.

Re::D CITADEL IS MULTITASKING!

Posted: Sun Oct 01, 2006 5:00 am
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