{"published":"2011-03-28 11:27:10","version":"1.0","blog_title":"atsuoishimoto's diary","author_name":"atsuoishimoto","author_url":"https://blog.hatena.ne.jp/atsuoishimoto/","description":"10.1 SIGUSR1\u3068SIGUSR2\u3092\u6355\u6349\u3059\u308b\u7c21\u5358\u306a\u30d7\u30ed\u30b0\u30e9\u30e0 import signal def sigusr(signo, frame): # one signal handler for both signals print \"received\", \"SIGUSR1\" if signo == signal.SIGUSR1 else \"SIGUSR2\" signal.signal(signal.SIGUSR1, sigusr) signal.signal(signal.SIGUSR2, sigusr) while True: signal.pause() 10.2 \u30b7\u30b0\u30ca\u30eb\u30cf\u30f3\u30c9\u30e9\u304b\u3089\u2026","provider_name":"Hatena Blog","image_url":null,"provider_url":"https://hatena.blog","blog_url":"https://atsuoishimoto.hatenablog.com/","categories":["Python","APUE"],"type":"rich","title":"Python\u3067\u5b66\u3076\u300c\u8a73\u89e3 UNIX\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u300d(\u305d\u306e10) \u7b2c10\u7ae0 \u30b7\u30b0\u30ca\u30eb","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fatsuoishimoto.hatenablog.com%2Fentry%2F20110328%2F1301279230\" title=\"Python\u3067\u5b66\u3076\u300c\u8a73\u89e3 UNIX\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u300d(\u305d\u306e10) \u7b2c10\u7ae0 \u30b7\u30b0\u30ca\u30eb - atsuoishimoto&#39;s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","width":"100%","url":"https://atsuoishimoto.hatenablog.com/entry/20110328/1301279230"}