Ejemplo n.º 1
0
        static void exit(IntPtr handlePointer, long exit_status, int term_signal)
        {
            var process = Handle.FromIntPtr <Process>(handlePointer);

            process.OnExit(exit_status, term_signal);
        }
Ejemplo n.º 2
0
        static void CloseCallback(IntPtr handlePointer)
        {
            var handle = Handle.FromIntPtr <Handle>(handlePointer);

            handle.Cleanup(handlePointer, handle.closeCallback);
        }