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)
Process ID in microkernel
RE:Process ID in microkernel
>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
>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