JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... cancelability type である。 これには最初のスレッドも含まれる。 Even with deferred cancellation, a cancellation point in an asynchronous signal handler may still be acted upon and the effect is as if it was an asynchronous cancellation. PTHREAD_CANCEL_ASYNCHR ... ンセル要求に対して スレッドが応答しない状態になってしまうからである。 非同期キャンセル cancelability type を PTHREAD_CANCEL_ASYNCHRONOUS に設定して役に立つことはめったにない。スレッドは いつでも キャンセルすることができることになるので、スレッドが安全にリソー ... ... cancelability type である。 これには最初のスレッドも含まれる。 Even with deferred cancellation, a cancellation point in an asynchronous signal handler may still be acted upon and the effect is as if it was an asynchronous cancellation. PTHREAD_CANCEL_ASYNCHR ... ンセル要求に対して スレッドが応答しない状態になってしまうからである。 非同期キャンセル cancelability type を PTHREAD_CANCEL_ASYNCHRONOUS に設定して役に立つことはめったにない。スレッドは いつでも キャンセルすることができることになるので、スレッドが安全にリソー ... ... う (ファイルを扱う可能性のあるほとんどの関数がこれに含まれる)。 It should be noted that even if an application is not using asynchronous cancellation, that calling a function from the above list from an asynchronous signal handler may cause the equivalent of ... asynchronous cancellation. The underlying user code may not expect asynchronous cancellation and the state of the user data may become inconsistent. Therefore signals should be used with caution when en ... ... いつキャンセルが発生するかが決まる。 スレッドのキャンセル種別 (cancelability type) は pthread_setcanceltype (3) で設定され、 asynchronous か deferred のいずれかとなる( deferred が新しいスレッドのデフォルト値である)。 非同期キャンセル (asynchronous cancelabilit ... ... ンセルを試みる。 lio_listio (3) 一回の関数呼び出しで複数の I/O リクエストをキューに入れる。 aiocb ("非同期 I/O 制御ブロック (asynchronous I/O control block)") 構造体は、I/O 操作を制御するパラメーターを定義する。この型の引数は上記 の全ての関数で使用されている。 ... , io_submit (2), aio_cancel (3), aio_error (3), aio_init (3), aio_read (3), aio_return (3), aio_write (3), lio_listio (3) "Asynchronous I/O Support in Linux 2.5", Bhattacharya, Pratt, Pulavarty, and Morgan, Proceedings of the Linux Symposium, 2003, この文書に ... ... ed" に設定する ( pthread_setcanceltype (3) 参照)。 これにより、この関数が呼び出される前のスレッドの cancelability type が "asynchronous" であったとしても、キャンセルクリーンアップが行われること が保証される。 pthread_cleanup_pop (3) と同様に、 pthread_cleanu ... ... ed" に設定する ( pthread_setcanceltype (3) 参照)。 これにより、この関数が呼び出される前のスレッドの cancelability type が "asynchronous" であったとしても、キャンセルクリーンアップが行われること が保証される。 pthread_cleanup_pop (3) と同様に、 pthread_cleanu ... ... 以下のアドバイスの関数が存在する。 posix_fadvise (), posix_fallocate (), posix_memalign (), posix_madvise (). AIO - _POSIX_ASYNCHRONOUS_IO - _SC_ASYNCHRONOUS_IO ヘッダー < aio.h > が存在する。 以下の関数が存在する。 aio_cancel (), aio_error (), aio_fsync (), ... ... SIGPIPE シグナルは SOCK_STREAM 接続が予期せず切断された時に送られる。 また、 F_SETOWN 操作は、I/O や I/O イベントの非同期 (asynchronous) 通知を SIGIO を経由で受け取るプロセスやプロセスグループを設定するのにも使用できる。 F_SETOWN を使用することは FIOSETOWN ま ... ... きる。 SOCK_DGRAM ソケットまたは SOCK_RAW ソケットでのみ許される。引数はブール値へのポインター。 IPV6_RECVERR 非同期エラー (asynchronous error) オプションの受信を制御する。 詳細は ip (7) の IP_RECVERR を参照。 引数はブール値へのポインター。 IPV6_ROUTER_ALERT ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。