JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... the programs are given below. First, we show a shell session demonstrating their use. In one terminal window, we run the "reader" program, which creates a System V shared memory segment and a System V semaphore set. The program prints out the IDs of t ... writer" program takes three command-line arguments: the IDs of the shared memory segment and semaphore set created by the "reader", and a string. It attaches the existing shared memory segment, copies the string to the shared memory, and modifies the s ... emaphore value. $ ./svshm_string_write 1114194 15 'Hello, world' Returning to the terminal where the "reader" is running, we see that the program has ceased waiting on the semaphore and has printed the string that was copied into t ... ... the programs are given below. First, we show a shell session demonstrating their use. In one terminal window, we run the "reader" program, which creates a System V shared memory segment and a System V semaphore set. The program prints out the IDs of t ... writer" program takes three command-line arguments: the IDs of the shared memory segment and semaphore set created by the "reader", and a string. It attaches the existing shared memory segment, copies the string to the shared memory, and modifies the s ... emaphore value. $ ./svshm_string_write 1114194 15 'Hello, world' Returning to the terminal where the "reader" is running, we see that the program has ceased waiting on the semaphore and has printed the string that was copied into t ... ... the programs are given below. First, we show a shell session demonstrating their use. In one terminal window, we run the "reader" program, which creates a System V shared memory segment and a System V semaphore set. The program prints out the IDs of t ... writer" program takes three command-line arguments: the IDs of the shared memory segment and semaphore set created by the "reader", and a string. It attaches the existing shared memory segment, copies the string to the shared memory, and modifies the s ... emaphore value. $ ./svshm_string_write 1114194 15 'Hello, world' Returning to the terminal where the "reader" is running, we see that the program has ceased waiting on the semaphore and has printed the string that was copied into t ... ... ク種別 (lock kind)」を pref で指定された値に設定する。 引数 pref には以下のいずれか一つを設定できる。 PTHREAD_RWLOCK_PREFER_READER_NP これがデフォルトである。 スレッドは複数の読み出しロックを保持できる。 つまり、読み出しロックは再帰的である。 Single Uni ... ックをかけようとした際に、書き込みロックはないが書き込み側が待っていた場合の、動作は規定されていない。 PTHREAD_RWLOCK_PREFER_READER_NP に設定し、読み出し側に優先度を与えるということは、 たとえ書き込み側が待っていたとしても、読み出し側が要求したロックを受 ... 込み側は待つことになる。 PTHREAD_RWLOCK_PREFER_WRITER_NP This is intended as the write lock analog of PTHREAD_RWLOCK_PREFER_READER_NP . This is ignored by glibc because the POSIX requirement to support recursive read locks would cause this option to cre ... ... ク種別 (lock kind)」を pref で指定された値に設定する。 引数 pref には以下のいずれか一つを設定できる。 PTHREAD_RWLOCK_PREFER_READER_NP これがデフォルトである。 スレッドは複数の読み出しロックを保持できる。 つまり、読み出しロックは再帰的である。 Single Uni ... ックをかけようとした際に、書き込みロックはないが書き込み側が待っていた場合の、動作は規定されていない。 PTHREAD_RWLOCK_PREFER_READER_NP に設定し、読み出し側に優先度を与えるということは、 たとえ書き込み側が待っていたとしても、読み出し側が要求したロックを受 ... 込み側は待つことになる。 PTHREAD_RWLOCK_PREFER_WRITER_NP This is intended as the write lock analog of PTHREAD_RWLOCK_PREFER_READER_NP . This is ignored by glibc because the POSIX requirement to support recursive read locks would cause this option to cre ... ... _POSIX_RAW_SOCKETS raw ソケットがサポートされている。 次の関数が影響を受ける。 getsockopt (), setsockopt (). --- - _POSIX_READER_WRITER_LOCKS - _SC_READER_WRITER_LOCKS このオプションは _POSIX_THREADS オプションを暗黙の内に指定する。 逆に POSIX.1-2001 ... ... ro-copy support, callers must ensure the transferred portions of the file referred to by in_fd remain unmodified until the reader on the other end of out_fd has consumed the transferred data. The Linux-specific splice (2) call supports transferring dat ... ... ro-copy support, callers must ensure the transferred portions of the file referred to by in_fd remain unmodified until the reader on the other end of out_fd has consumed the transferred data. The Linux-specific splice (2) call supports transferring dat ... ... い場合には, gdbm はファイルシステムに対する stat のブロックサイズを使用する。 read_write には以下のいずれかの値を取る。 GDBM_READER リーダ GDBM_WRITER ライタ GDBM_WRCREAT ライタ - データベースが存在しなければ作成する GDBM_NEWDB ライタ - すでに存在しても新 ... ... で説明するとおり) 応答を書き込まなければならない。 FAN_OPEN_EXEC_PERM An application wants to open a file for execution. The reader must write a response that determines whether the permission to open the filesystem object for execution shall be granted. ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。