JM Project

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

Linux マニュアル 一覧

全文・高度検索

per page, with , order by , clip by
Results of 1 - 10 of about 149 for threads (0.002 sec.)
Man page of PTHREAD_KILL_OTHER_THREADS_NP 16139
PTHREAD_KILL_OTHER_THREADS_NP Section: Linux Programmer's Manual (3) Updated: 2017-09-15 Index JM Home Page 名前 pthread_kill_other_threads_np - プロセス内の他の全スレッドを終了する 書式 #include < pthread.h > void pthread_kill_other_threads ... s_np(void); 説明 pthread_kill_other_threads_np () は、 LinuxThreads スレッド実装においてのみ効果がある。 LinuxThreads スレッド実装では、この関数を呼び出すと アプリケー ... ない。 属性 この節で使用されている用語の説明については、 attributes (7) を参照。 インターフェース 属性 値 pthread_kill_other_threads_np () Thread safety MT-Safe 準拠 この関数は非標準の GNU による拡張である。 そのため、名前に "_np" (nonportable; 移植性がな ... い) という接尾辞が 付いている。 注意 pthread_kill_other_threads_np () は、 スレッドが execve (2) や同様の関数を呼び出す直前に 呼ばれることを目的として用意されている。 この関数は、(廃止予 ...
https://man.mtool.work/man/20260915/man3/pthread_kill_other_threads_np.3.html
Man page of PTHREAD_CREATE 10681
PTHREAD_CREATE Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前 pthread_create - 新しいスレッドを作成する 書式 #include < pthread.h > int pthread_create(pthread_t * thread , const pthread_attr_t * attr , vo ... た場合は、 pthread_create () は返る前に新しいスレッドの ID を thread が指すバッファーに格納する。この ID は、これ以降に他の pthreads 関数の呼び出しでスレッドを参照するのに使用される。 新しいスレッドは、スレッドを作成したスレッドのシグナルマスク ( pthread_ ... に達していた ( setrlimit (2) で設定できる)。 カーネルのシステム全体のプロセスとスレッドの数の上限値である /proc/sys/kernel/threads-max が達していた ( proc (5) 参照)。 PID の最大値 /proc/sys/kernel/pid_max に達していた ( proc (5) 参照)。 EINVAL attr で指 ... ない。 属性 この節で使用されている用語の説明については、 attributes (7) を参照。 インターフェース 属性 値 pthread_create () Thread safety MT-Safe 準拠 POSIX.1-2001, POSIX.1-2008. 注意 pthread_create () が *thread で返すスレッド ID についての 詳しい情報は ...
https://man.mtool.work/man/20260915/man3/pthread_create.3.html
Man page of POSIXOPTIONS 9042
POSIXOPTIONS Section: Linux Programmer's Manual (7) Updated: 2007-12-21 Index JM Home Page 名前 posixoptions - POSIX 標準の選択可能な部分 説明 POSIX 標準 (以下の情報は POSIX.1-2001 の抜粋) は 互換システムの動作とインターフェースのセットを記 ... , aio_return (), aio_suspend (), aio_write (), lio_listio (). BAR - _POSIX_BARRIERS - _SC_BARRIERS このオプションは _POSIX_THREADS と _POSIX_THREAD_SAFE_FUNCTIONS オプションを暗黙の内に指定する。 以下の関数が存在する。 pthread_barrier_destroy (), pthrea ... を受ける。 getsockopt (), setsockopt (). --- - _POSIX_READER_WRITER_LOCKS - _SC_READER_WRITER_LOCKS このオプションは _POSIX_THREADS オプションを暗黙の内に指定する。 逆に POSIX.1-2001 では _POSIX_THREADS オプションはこのオプションを暗黙の内に指定する。 以 ... attr_setschedparam (), posix_spawnattr_setschedpolicy (). SPI - _POSIX_SPIN_LOCKS - _SC_SPIN_LOCKS このオプションは _POSIX_THREADS と _POSIX_THREAD_SAFE_FUNCTIONS オプションを暗黙の内に指定する。 以下の関数が存在する。 pthread_spin_destroy (), pthread_s ...
https://man.mtool.work/man/20260915/man7/posixoptions.7.html
Man page of AIO_INIT 8854
AIO_INIT Section: Linux Programmer's Manual (3) Updated: 2020-08-13 Index JM Home Page 名前 aio_init - 非同期 I/O の初期化 書式 #define _GNU_SOURCE /* See feature_test_macros (7) */ #include < aio.h > void aio_init(const struct aioinit * in ... ューニングの情報は、引数 init が指すバッファーで与える。 このバッファーは以下の形式の構造体である。 struct aioinit { int aio_threads; /* Maximum number of threads */ int aio_num; /* Number of expected simultaneous requests */ int aio_locks; /* Not used */ ... re idle thread terminates (since glibc 2.2) */ int aio_reserved; }; aioinit 構造体のフィールドのうち以下が使用される。 aio_threads このフィールドは、AIO の実装が使用できるワーカースレッド数の最大値を指定する。 完了していない I/O 操作の数がこの上限を超え ...
https://man.mtool.work/man/20260915/man3/aio_init.3.html
Man page of MALLOC_INFO 8315
MALLOC_INFO Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前 malloc_info - malloc の状態をストリームに出力する 書式 #include < malloc.h > int malloc_info(int options , FILE * stream ); 説明 malloc_info () 関 ... 加された。 属性 この節で使用されている用語の説明については、 attributes (7) を参照。 インターフェース 属性 値 malloc_info () Thread safety MT-Safe 準拠 この関数は GNU による拡張である。 注意 メモリー割り当て情報は (C の構造体ではなく) XML 文字列として提供 ... lude < stdlib.h > #include < pthread.h > #include < malloc.h > #include < errno.h > static size_t blockSize; static int numThreads, numBlocks; #define errExit(msg) do { perror(msg); exit(EXIT_FAILURE); \ } while (0) static void * thread_func(void *arg) ... ead terminates */ return NULL; } int main(int argc, char *argv[]) { int sleepTime; if (argc < 4) { fprintf(stderr, "%s num-threads num-blocks block-size [sleep-time]\n", argv[0]); exit(EXIT_FAILURE); } numThreads = atoi(argv[1]); numBlocks = atoi(argv[2 ...
https://man.mtool.work/man/20260915/man3/malloc_info.3.html
Man page of FORK 7952
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 () は呼び出し元プロセスを複製して新しいプロセ ... スに -1 が返され、子プロセスは生成されず、 errno が適切に設定される。 エラー EAGAIN A system-imposed limit on the number of threads was encountered. There are a number of limits that may trigger this error: * the RLIMIT_NPROC soft resource limit (set via ... setrlimit (2)), which limits the number of processes and threads for a real user ID, was reached; * the kernel's system-wide limit on the number of processes and threads, /proc/sys/kernel ... /threads-max , was reached (see proc (5)); * the maximum number of PIDs, /proc/sys/kernel/pid_max , was reached (see proc (5)); or ...
https://man.mtool.work/man/20260915/man2/fork.2.html
Man page of SETGID 7589
SETGID Section: Linux Programmer's Manual (2) Updated: 2019-03-06 Index JM Home Page 名前 setgid - グループ識別(identity)を設定する 書式 #include < sys/types.h > #include < unistd.h > int setgid(gid_t gid ); 説明 setgid () sets the effectiv ... リとカーネルの違い At the kernel level, user IDs and group IDs are a per-thread attribute. However, POSIX requires that all threads in a process share the same credentials. The NPTL threading implementation handles the POSIX requirements by providing wra ... he one for setgid ()) employ a signal-based technique to ensure that when one thread changes credentials, all of the other threads in the process also change their credentials. For details, see nptl (7). 関連項目 getgid (2), setegid (2), setregid (2), c ...
https://man.mtool.work/man/20260915/man2/setgid.2.html
Man page of SETGID 7589
SETGID Section: Linux Programmer's Manual (2) Updated: 2019-03-06 Index JM Home Page 名前 setgid - グループ識別(identity)を設定する 書式 #include < sys/types.h > #include < unistd.h > int setgid(gid_t gid ); 説明 setgid () sets the effectiv ... リとカーネルの違い At the kernel level, user IDs and group IDs are a per-thread attribute. However, POSIX requires that all threads in a process share the same credentials. The NPTL threading implementation handles the POSIX requirements by providing wra ... he one for setgid ()) employ a signal-based technique to ensure that when one thread changes credentials, all of the other threads in the process also change their credentials. For details, see nptl (7). 関連項目 getgid (2), setegid (2), setregid (2), c ...
https://man.mtool.work/man/20260915/man2/setgid32.2.html
Man page of PTHREAD_SIGMASK 7039
PTHREAD_SIGMASK Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前 pthread_sigmask - 禁止するシグナルマスクの確認と変更を行う 書式 #include < signal.h > int pthread_sigmask(int how , const sigset_t * set , si ... 参照。 属性 この節で使用されている用語の説明については、 attributes (7) を参照。 インターフェース 属性 値 pthread_sigmask () Thread safety MT-Safe 準拠 POSIX.1-2001, POSIX.1-2008. 注意 新しいスレッドは、スレッドを作成したスレッドのシグナルマスクのコピーを ... ", sig); } } int main(int argc, char *argv[]) { pthread_t thread; sigset_t set; int s; /* Block SIGQUIT and SIGUSR1; other threads created by main() will inherit a copy of the signal mask. */ sigemptyset(&set); sigaddset(&set, SIGQUIT); sigaddset(&set, ... ead, NULL, &sig_thread, &set); if (s != 0) handle_error_en(s, "pthread_create"); /* Main thread carries on to create other threads and/or do other work */ pause(); /* Dummy pause so we can test program */ } 関連項目 sigaction (2), sigpending (2), sigpro ...
https://man.mtool.work/man/20260915/man3/pthread_sigmask.3.html
Man page of SETRESUID 6863
SETRESUID Section: Linux Programmer's Manual (2) Updated: 2017-09-15 Index JM Home Page 名前 setresuid, setresgid - ユーザーやグループの 実、実効、保存 ID を設定する 書式 #define _GNU_SOURCE /* feature_test_macros (7) 参照 */ #include < uni ... リとカーネルの違い At the kernel level, user IDs and group IDs are a per-thread attribute. However, POSIX requires that all threads in a process share the same credentials. The NPTL threading implementation handles the POSIX requirements by providing wra ... () and setresgid ()) employ a signal-based technique to ensure that when one thread changes credentials, all of the other threads in the process also change their credentials. For details, see nptl (7). 関連項目 getresuid (2), getuid (2), setfsgid (2), ...
https://man.mtool.work/man/20260915/man2/setresgid.2.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT

リンク

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