UNIXã¯ããã»ã¹ã«å¯¾ãã¦ã·ã°ãã«ãéã£ã¦å²ãè¾¼ã¿å¦çãããããã¨ãåºæ¥ãã ããã°ã©ã å´ã¯ã·ã°ãã«ããã¹ã¯ãããã¨ã«ãã£ã¦ãã·ã°ãã«ãææãã¦ç¬èªã®å¦çãè¡ããã¨ãåºæ¥ãã ã·ã°ãã«ã®ç¨®é¡ã¯UNIXã®ç¨®é¡ã«ãã£ã¦ç°ãªãã®ã§ãèªåã§ä½¿ãOSã«åãããå¿ è¦ããããï¼killã³ãã³ãã使ãã°ããã®OSãã©ã®ã·ã°ãã«ããµãã¼ããã¦ããã®ã確èªã§ããï¼ ã·ã°ãã«ã®ãã¹ã¯ sigtest.cï¼ #include <stdio.h> #include <signal.h> #include <pthread.h> void* SignalThread(void* arg) { sigset_t set; int r; //setãåæå r = sigfillset(&set); if (r != 0) return NULL; //ããã©ã«ãåä½ãè¡ãã·ã°ãã«ãæå®ï¼ãã¹ã¯å¯¾è±¡ããå¤ãï¼ r = s
{{#tags}}- {{label}}
{{/tags}}