JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... thread_setcancelstate(int state , int * oldstate ); int pthread_setcanceltype(int type , int * oldtype ); -pthread でコンパイルしてリンクする。 説明 pthread_setcancelstate () は、呼び出したスレッドの ... LE スレッドは取り消しできない。取り消し要求を受信した際は、 取り消し可能に設定されるまでその要求はブロックされる。 pthread_setcanceltype () は、呼び出したスレッドの cancelability type に type で指定された値を設定する。 変更前のスレッドの cancelability type は ... を返す。 エラー pthread_setcancelstate () は以下のエラーで失敗する場合がある。 EINVAL state に無効な値が指定された。 pthread_setcanceltype () は以下のエラーで失敗する場合がある。 EINVAL type に無効な値が指定された。 属性 この節で使用されている用語の説明について ... ... thread_setcancelstate(int state , int * oldstate ); int pthread_setcanceltype(int type , int * oldtype ); -pthread でコンパイルしてリンクする。 説明 pthread_setcancelstate () は、呼び出したスレッドの ... LE スレッドは取り消しできない。取り消し要求を受信した際は、 取り消し可能に設定されるまでその要求はブロックされる。 pthread_setcanceltype () は、呼び出したスレッドの cancelability type に type で指定された値を設定する。 変更前のスレッドの cancelability type は ... を返す。 エラー pthread_setcancelstate () は以下のエラーで失敗する場合がある。 EINVAL state に無効な値が指定された。 pthread_setcanceltype () は以下のエラーで失敗する場合がある。 EINVAL type に無効な値が指定された。 属性 この節で使用されている用語の説明について ... ... read_cleanup_push_defer_np () は現在の cancelability type も 保存し、cancelability type は "deferred" に設定する ( pthread_setcanceltype (3) 参照)。 これにより、この関数が呼び出される前のスレッドの cancelability type が "asynchronous" であったとしても、キャン ... ute); と以下は等価である (但し、上の方がより簡潔で効率的である)。 int oldtype; pthread_cleanup_push(routine, arg); pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, &oldtype); ... pthread_setcanceltype(oldtype, NULL); pthread_cleanup_pop(execute); 準拠 これらの関 ... ... read_cleanup_push_defer_np () は現在の cancelability type も 保存し、cancelability type は "deferred" に設定する ( pthread_setcanceltype (3) 参照)。 これにより、この関数が呼び出される前のスレッドの cancelability type が "asynchronous" であったとしても、キャン ... ute); と以下は等価である (但し、上の方がより簡潔で効率的である)。 int oldtype; pthread_cleanup_push(routine, arg); pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, &oldtype); ... pthread_setcanceltype(oldtype, NULL); pthread_cleanup_pop(execute); 準拠 これらの関 ... ... cancelability type によって、いつキャンセルが発生するかが決まる。 スレッドのキャンセル種別 (cancelability type) は pthread_setcanceltype (3) で設定され、 asynchronous か deferred のいずれかとなる( deferred が新しいスレッドのデフォルト値である)。 非同期キャンセ ... h (3), pthread_create (3), pthread_exit (3), pthread_join (3), pthread_key_create (3), pthread_setcancelstate (3), pthread_setcanceltype (3), pthread_testcancel (3), pthreads (7) この文書について この man ページは Linux man-pages プロジェクトのリリース 5.10 の ... ... をするので、 何もする必要がないということだ)。 関連項目 execve (2), pthread_cancel (3), pthread_setcancelstate (3), pthread_setcanceltype (3), pthreads (7) この文書について この man ページは Linux man-pages プロジェクトのリリース 5.10 の一部である。プロジェクト ... ... 1 と POSIX.1-2008 で async-cancel-safe で なければならないとされている。 pthread_cancel() pthread_setcancelstate() pthread_setcanceltype() 取り消しポイント (cancellation points) POSIX.1 の規定では、特定の関数は取り消しポイントでなければならず、 他の特定の関数 ... (3), pthread_spin_init (3), pthread_spin_lock (3), pthread_rwlockattr_setkind_np (3), pthread_setcancelstate (3), pthread_setcanceltype (3), pthread_setspecific (3), pthread_sigmask (3), pthread_sigqueue (3), and pthread_testcancel (3) この文書について この ... ... _wrlock (), pthread_rwlockattr_destroy (), pthread_rwlockattr_init (), pthread_self (), pthread_setcancelstate (), pthread_setcanceltype (), pthread_setspecific (), pthread_testcancel (). TMO - _POSIX_TIMEOUTS - _SC_TIMEOUTS 以下の関数が存在する。 mq_timedrec ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。