PID==0 problems

From: Pavel Machek <pavel_at_nospam.org>
Date: Thu Oct 30 1997 - 03:32:15 PST

Hi!

At least under vsta 1.5.2, 0 is perfectly valid PID. There's trouble
with this pid, however - with notify, it means 'send notification to
itself'. As a result, process with pid==0 is unkillable. (In my case
it was console driver). I removed this concrete problem by setting
static variable 'last_pid' to 1, but in case PID's can wrap (can
they?) this is not a solution.

                                                                Pavel

-- 
--
This is my little buggy signature...				Pavel
GCM d? s-: !g p?:+ au- a--@ w+ v- C++@ UL+++ L++ N++ E++ W--- M- Y- R+
Received on Thu Oct 30 01:33:25 1997

This archive was generated by hypermail 2.1.8 : Thu Sep 22 2005 - 15:12:43 PDT