OSDev.org

The Place to Start for Operating System Developers
It is currently Sat Apr 27, 2024 4:49 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: How to make a fully preemptable kernel ?
PostPosted: Thu Aug 02, 2001 11:00 pm 
I want my kernel to be fully preemptable as QNX(as I know),
but I don't know how it is achieved !
By not using memory-variables ?

Is the following function preemptable ?

void test_kernel_function()
{
int i=100000;

while(i--);
}

..if not,how shoudl I chage it to be ?

What I expect from the above function is that,when it is
preempted it will set i=100000 so when the preemted process
gains back controll it will have an undefined value in i !

Am I completly on the wrong way ?

I would also like to discuss microkernels in detail
(general concepts,message-passing,memeory managment,etc..).
If you also feel so(and have patience for me),
drop me an email: [email protected]

thanks in advance


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Majestic-12 [Bot] and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group