(Chap 6. signal - 동기/비동기, Signal(signum, SIG_IGN or SIG_DFL or function))\
Chap 7. Event-Driven Programming
* Lcurses
* sleep / alarm
* Time - real / virtual(user) / profile(user+kennel)
* struct Itimerval - value, interval -> 반복 알람
* setitimer(time kind, itimerval, old itimerval)
* multi signal
* sigaction - struct sigaction.sa_handler - 함수 , sa_flag - 옵션, sa_mask
* sigset_t - emptyset, addset -> sa_mask로 값주기
* 중요데이터 signal 막기 _ sigprocmask(SIG_BLOCK, new sigset_t, old_sigset_t)
'Archived(CSE) > 시스템 프로그래밍' 카테고리의 다른 글
Chap 8. Process (0) | 2018.12.03 |
---|---|
Chap 14. Threads : Concurrent Functions (0) | 2018.12.03 |
Team project. 산성비(한컴타자연습) cover 게임 구상 (0) | 2018.11.25 |
Chap 11. Connecting to Processes Near and Far Servers and Sockets (0) | 2018.11.21 |
Chap 10. I/O Redirection and Pipes (0) | 2018.11.18 |