Ejemplo n.º 1
0
        public static Process Purge(KThread thread)
        {
            if (thread.Parent.MainThread != thread)
            {
                Process process = new Process();
                process.Threads.Add(thread);

                return process;
            }
            else throw new Exception("Cannot Purge a Main Thread...");
        }
Ejemplo n.º 2
0
 protected override void BeforeRun()
 {
     Console.WriteLine("PashOS created by Emile Badenhorst and Daniel Jones");
     Engine en = new Engine();
     Process BootStrap = new Process("");
 }