JM Project

JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。

Linux マニュアル 一覧

全文・高度検索

per page, with , order by , clip by
Results of 1 - 6 of about 6 for atfork (0.002 sec.)
Man page of PTHREAD_ATFORK 13161
PTHREAD_ATFORK Section: C Library Functions (3) Updated: LinuxThreads Index JM Home Page 名前 pthread_atfork - fork (2) の際に呼び出されるハンドラを登録する 書式 int pthread_atfork(void (* prepare )(void), void (* parent )(void), void (* ch ... ild )(void)); 説明 pthread_atfork は fork (2) によって新しいプロセスが生成される際、その直前と直後に呼び出される ハンドラ関数を登録する。 prepare ハンドラは ... たは複数に NULL を与えることができるが、これは対応する時点でいかなるハンドラをも 呼び出す必要がないことを意味する。 pthread_atfork は複数のハンドラの組合せを登録するために複数回 呼び出すことが可能である。 fork (2) の時点で複数の prepare ハンドラは LIFO ... 順で呼び出される( pthread_atfork で最後に加えられたものが fork の前に最初に呼び出される)。 他方、 parent と child は FIFO 順で呼び出される (最初に加えられた ...
https://man.mtool.work/man/20260915/man3/pthread_atfork.3.html
Man page of FORK 8956
FORK Section: Linux Programmer's Manual (2) Updated: 2020-06-09 Index JM Home Page 名前 fork - 子プロセスを生成する 書式 #include < sys/types.h > #include < unistd.h > pid_t fork(void); 説明 fork () は呼び出し元プロセスを複製して新しいプロセ ... これにはミューテックス (mutex) の状態・条件変数・ pthread オブジェクトが含まれる。 これが引き起こす問題を扱うには、 pthread_atfork (3) を使うと良いだろう。 * After a fork () in a multithreaded program, the child can safely call only async-signal-safe fu ... ork () の呼び出しは、 flags に SIGCHLD だけを指定して clone (2) を呼び出すのと等価である)。 glibc のラッパー関数は pthread_atfork (3) を使って設定されている 任意の fork ハンドラーを起動する。 例 pipe (2) および wait (2) を参照。 関連項目 clone (2), exe ... cve (2), exit (2), setrlimit (2), unshare (2), vfork (2), wait (2), daemon (3), pthread_atfork (3), capabilities (7), credentials (7) この文書について この man ページは Linux man-pages プロジェクトのリリース 5.10 の一 ...
https://man.mtool.work/man/20260915/man2/fork.2.html
Man page of SYSTEM 8262
SYSTEM Section: Linux Programmer's Manual (3) Updated: 2019-03-06 Index JM Home Page 名前 system - シェルコマンドの実行 書式 #include < stdlib.h > int system(const char * command ); 説明 system () ライブラリ関数は、 fork (2) を使って子プロセ ... T || WTERMSIG(ret) == SIGQUIT)) break; } According to POSIX.1, it is unspecified whether handlers registered using pthread_atfork (3) are called during the execution of system (). In the glibc implementation, such handlers are not called. glibc 2.1.3 よ ...
https://man.mtool.work/man/20260915/man3/system.3.html
Man page of VFORK 8189
VFORK Section: Linux Programmer's Manual (2) Updated: 2017-09-15 Index JM Home Page 名前 vfork - 子プロセスを生成し親プロセスを停止させる 書式 #include < sys/types.h > #include < unistd.h > pid_t vfork(void); glibc 向けの機能検査マクロの要件 ... parent process uses mmap (2) to map in code that will be executed by the privileged child process. Linux での注意 pthread_atfork (3) を使って設定された fork ハンドラーは NPTL スレッドライブラリコールを採用したマルチスレッドプログラムでは 呼び出されない ...
https://man.mtool.work/man/20260915/man2/vfork.2.html
Man page of POSIXOPTIONS 8116
POSIXOPTIONS Section: Linux Programmer's Manual (7) Updated: 2007-12-21 Index JM Home Page 名前 posixoptions - POSIX 標準の選択可能な部分 説明 POSIX 標準 (以下の情報は POSIX.1-2001 の抜粋) は 互換システムの動作とインターフェースのセットを記 ... duler (). THR - _POSIX_THREADS - _SC_THREADS POSIX スレッドの基本サポートが使用可能である。 以下の関数が存在する。 pthread_atfork (), pthread_attr_destroy (), pthread_attr_getdetachstate (), pthread_attr_getschedparam (), pthread_attr_init (), pthread_ ...
https://man.mtool.work/man/20260915/man7/posixoptions.7.html
Man page of PTHREADS 8116
PTHREADS Section: Linux Programmer's Manual (7) Updated: 2020-12-21 Index JM Home Page 名前 pthreads - POSIX スレッド 説明 POSIX.1 は、一般に POSIX スレッドや Pthreads として知られる スレッドプログラミングのインターフェース群 (関数、ヘッダー ... , proc (5), attributes (7), futex (7), nptl (7), sigevent (7), signal (7) pthreads の各種マニュアルページ、例えば: pthread_atfork (3), pthread_attr_init (3), pthread_cancel (3), pthread_cleanup_push (3), pthread_cond_signal (3), pthread_cond_wait (3), ...
https://man.mtool.work/man/20260915/man7/pthreads.7.html
PREV 1 NEXT

リンク

日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。