/* * Complete signal handling for this process. * Params: * none * * Returns: 0 on success or error code (< 0) on error */ static int Sys_ReturnSignal(struct Interrupt_State* state) { struct Kernel_Thread* kthread = Get_Current(); Complete_Handler(kthread, state); return -1; //TODO("Sys_ReturnSignal system call"); }
/* * Complete signal handling for this process. * Params: * none * * Returns: 0 on success or error code (< 0) on error */ static int Sys_ReturnSignal(struct Interrupt_State *state) { Complete_Handler(g_currentThread, state); return 0; }