JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... ( feature_test_macros (7) 参照): sigpending (): _POSIX_C_SOURCE 説明 sigpending () は、呼び出し元のスレッドへの配送を待っている (pending) シグナル集合 (すなわち、禁止 ... 中に発生したシグナル) を返す。 処理待ちのシグナルのマスクが set に格納される。 返り値 sigpending () は成功した場合 0 を返す。 エラーの場合、 -1 を返し、 errno にエラーの原因を示す値を設定する。 エラー EFAULT set が指して ... e (2) の前後で、処理待ちのシグナル集合は保持される。 C ライブラリとカーネルの違い The original Linux system call was named sigpending (). However, with the addition of real-time signals in Linux 2.2, the fixed-size, 32-bit sigset_t argument supported by th ... ... ( feature_test_macros (7) 参照): sigpending (): _POSIX_C_SOURCE 説明 sigpending () は、呼び出し元のスレッドへの配送を待っている (pending) シグナル集合 (すなわち、禁止 ... 中に発生したシグナル) を返す。 処理待ちのシグナルのマスクが set に格納される。 返り値 sigpending () は成功した場合 0 を返す。 エラーの場合、 -1 を返し、 errno にエラーの原因を示す値を設定する。 エラー EFAULT set が指して ... e (2) の前後で、処理待ちのシグナル集合は保持される。 C ライブラリとカーネルの違い The original Linux system call was named sigpending (). However, with the addition of real-time signals in Linux 2.2, the fixed-size, 32-bit sigset_t argument supported by th ... ... threads has the signal unblocked, then the kernel chooses an arbitrary thread to which to deliver the signal. スレッドは、 sigpending (2) を使って、現在処理待ちのシグナル集合を取得することができる。 この集合は、プロセス宛ての処理待ちシグナルと 呼び出したス ... イムシグナルが現在キューに入っているかを 知ることができる。 Linux 2.6.8 で、これらの /proc 経由のインターフェースは、 RLIMIT_SIGPENDING リソース制限に置き換えられた。 これは、キューに入るシグナル数に関してユーザー単位に 上限を指定するものである。 詳しくは se ... ets. The old and new system calls are as follows: Linux 2.0 and earlier Linux 2.2 and later sigaction (2) rt_sigaction (2) sigpending (2) rt_sigpending (2) sigprocmask (2) rt_sigprocmask (2) sigreturn (2) rt_sigreturn (2) sigsuspend (2) rt_sigsuspend (2) s ... ... threading implementation. See nptl (7) for details. 例 pthread_sigmask (3) を参照。 関連項目 sigaction (2), signalfd (2), sigpending (2), sigsuspend (2), sigwaitinfo (2), sigsetops (3), signal (7) この文書について この man ページは Linux man-pages プロジェ ... ... とした場合には、 例えば、 セグメンテーションフォールトになる可能性もある点に注意すること。 関連項目 kill (2), sigaction (2), sigpending (2), pthread_self (3), pthread_sigmask (3), raise (3), pthreads (7), signal (7) この文書について この man ページは Linux m ... ... 返り値 成功した場合、0 が返される。エラーが発生した場合、-1 が返され、 errno が適切に設定される。 エラー EAGAIN The RLIMIT_SIGPENDING resource limit was reached and sig is a real-time signal. EAGAIN Insufficient kernel memory was available and sig is a rea ... ... 返り値 成功した場合、0 が返される。エラーが発生した場合、-1 が返され、 errno が適切に設定される。 エラー EAGAIN The RLIMIT_SIGPENDING resource limit was reached and sig is a real-time signal. EAGAIN Insufficient kernel memory was available and sig is a rea ... ... o create other threads and/or do other work */ pause(); /* Dummy pause so we can test program */ } 関連項目 sigaction (2), sigpending (2), sigprocmask (2), pthread_attr_setsigmask_np (3), pthread_create (3), pthread_kill (3), sigsetops (3), pthreads (7), s ... ... 供しているシステムも いくつかはあるが) 移植性を考慮したアプリケーションでは使用を避けるべき である。 関連項目 sigaction (2), sigpending (2), sigprocmask (2), sigsuspend (2) この文書について この man ページは Linux man-pages プロジェクトのリリース 5.10 の一部 ... ... 供しているシステムも いくつかはあるが) 移植性を考慮したアプリケーションでは使用を避けるべき である。 関連項目 sigaction (2), sigpending (2), sigprocmask (2), sigsuspend (2) この文書について この man ページは Linux man-pages プロジェクトのリリース 5.10 の一部 ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。