| [ CnUnix ] in KIDS 글 쓴 이(By): goocom (Ged) 날 짜 (Date): 2002년 11월 26일 화요일 오전 10시 27분 55초 제 목(Title): Re: 질문] 시그널 핸들러 sleep도 내부적으로 SIGALRM을 사용하여 구현된 경우가 많기 때문에 Linux 시스템의 경우라면 select (0, NULL, NULL, NULL, tv) 같은 함수를 이용하여 sleep 대신 사용하는 것이 안전하다고 합니다. POSIX 시그널에 구애받지 않는 nanosleep() 같은 것도 유용합니다. -- Businesses used to be like christianity; if you were faithful and obedient, you could obtain bliss in the afterlife of retirement. Now it's more of a reincarnation model. If the worker learns enough in his current job, he can progress to a higher level of employment elsewhere. <Dogbert> |