OSDev.org

The Place to Start for Operating System Developers
It is currently Tue Apr 23, 2024 1:43 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Process ID in microkernel
PostPosted: Sun Jul 29, 2001 11:00 pm 
I wonder if the PID's(process id)are harcoded in the apps that call server functions,
or shoudl we use a systemcall like "int pid = GetServer(char *servername);" ???
(PID's are needed to send messages,in other words to call server functions)


Top
  
 
 Post subject: RE:Process ID in microkernel
PostPosted: Mon Jul 30, 2001 11:00 pm 
>On 2001-07-30 16:22:57, mudi wrote:
>I wonder if the PID's(process id)are harcoded in the apps that call server functions,
>or shoudl we use a systemcall like "int pid = GetServer(char *servername);" ???
>(PID's are needed to send messages,in other words to call server functions)

I think had-coding, in general, is a bad practice. It's much
more flexible using the later (GetServer) technique, and
will survive through generations of bugfixes and
changes to your OS.

J.Weeks


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

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot], kzinti and 116 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