시그널에 대해서..

1zzn의 이미지


책을 봐도.. 자료를 찾아봐도 잘 모르겠어요.

커널에서 프로세스에게 시그널을 보내서 어떤 함수를 호출 하고 싶은데요

어떤 함수를 어떻게 쓰는지 예제나 개념좀 가르쳐 주세요.

prether의 이미지

int send_sig(int, struct task_struct *, int);
int send_sig_info(int, struct siginfo *, struct task_struct *);

이거 써보세요.

/***************************************
Being the one is just like being in love.
***************************************/

/***************************************
Being the one is just like being in love.
***************************************/