Results of 1 - 10 of about 358 for Main (0.002 sec.)
- Man page of PTHREAD_GETCPUCLOCKID 13373
- PTHREAD_GETCPUCLOCKID Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home P
...
下記のシェルのセッションは実行例である。 $ ./a.out Main thread sleeping Subthread starting infinite loop M ...
ing some CPU time... Process total CPU time: 1.368 Main thread CPU time: 0.376 Subthread CPU time: 0.992 プ ...
(intmax_t) ts.tv_sec, ts.tv_nsec / 1000000); } int main(int argc, char *argv[]) { pthread_t thread; clocki ...
= 0) handle_error_en(s, "pthread_create"); printf("Main thread sleeping\n"); sleep (1); printf("Main threa ...
-
https://man.plustar.jp/manpage/man3/pthread_getcpuclockid.3.html
- [similar]
- Man page of MAKECONTEXT 12536
- MAKECONTEXT Section: Linux Programmer's Manual (3) Updated: 2020-12-21 Index JM Home Page 名前 m
...
を実行すると、以下のような出力が得られる: $ ./a.out main: swapcontext(&uctx_main, &uctx_func2) func2: start ...
c1, &uctx_func2) func2: returning func1: returning main: exiting プログラムのソース #include < ucontext.h ...
o.h > #include < stdlib.h > static ucontext_t uctx_main, uctx_func1, uctx_func2; #define handle_error(msg) ...
swapcontext"); printf("func2: returning\n"); } int main(int argc, char *argv[]) { char func1_stack[16384]; ...
-
https://man.plustar.jp/manpage/man3/makecontext.3.html
- [similar]
- Man page of MAKECONTEXT 12536
- MAKECONTEXT Section: Linux Programmer's Manual (3) Updated: 2020-12-21 Index JM Home Page 名前 m
...
を実行すると、以下のような出力が得られる: $ ./a.out main: swapcontext(&uctx_main, &uctx_func2) func2: start ...
c1, &uctx_func2) func2: returning func1: returning main: exiting プログラムのソース #include < ucontext.h ...
o.h > #include < stdlib.h > static ucontext_t uctx_main, uctx_func1, uctx_func2; #define handle_error(msg) ...
swapcontext"); printf("func2: returning\n"); } int main(int argc, char *argv[]) { char func1_stack[16384]; ...
-
https://man.plustar.jp/manpage/man3/swapcontext.3.html
- [similar]
- Man page of EXECVE 6833
- EXECVE Section: Linux Programmer's Manual (2) Updated: 2020-08-13 Index JM Home Page 名前 execve
...
d environment can be accessed by the new program's main function, when it is defined as: int main(int argc ...
, however, that the use of a third argument to the main function is not specified in POSIX.1; according to ...
with no memory management unit are excepted: they maintain the limit that was in effect before kernel 2.6 ...
process; many attributes of the calling process remain unchanged (in particular, its PID). All that execv ...
-
https://man.plustar.jp/manpage/man2/execve.2.html
- [similar]
- Man page of MALLOC_INFO 6833
- MALLOC_INFO Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前 m
...
'(2 + tn)' ensures that each thread (including the main thread) allocates a different amount of memory */ ...
rExit("malloc-thread"); sleep(100); /* Sleep until main thread terminates */ return NULL; } int main(int a ...
. */ if (sleepTime > 0) sleep(sleepTime); } /* The main thread also allocates some memory */ for (int j = ...
-
https://man.plustar.jp/manpage/man3/malloc_info.3.html
- [similar]
- Man page of SYSINFO 6165
- SYSINFO Section: Linux Programmer's Manual (2) Updated: 2017-09-15 Index JM Home Page 名前 sysin
...
verages */ unsigned long totalram; /* Total usable main memory size */ unsigned long freeram; /* Available ...
verages */ unsigned long totalram; /* Total usable main memory size */ unsigned long freeram; /* Available ...
-
https://man.plustar.jp/manpage/man2/sysinfo.2.html
- [similar]
- Man page of MALLOC_TRIM 6165
- MALLOC_TRIM Section: Linux Programmer's Manual (3) Updated: 2020-08-13 Index JM Home Page 名前 m
...
OP_PAD と M_TRIM_THRESHOLD の議論を参照。 Only the main heap (using sbrk (2)) honors the pad argument; thr ...
on only freed memory at the top of the heap in the main arena. 関連項目 sbrk (2), malloc (3), mallopt (3) ...
-
https://man.plustar.jp/manpage/man3/malloc_trim.3.html
- [similar]
- Man page of SEM_WAIT 6165
- SEM_WAIT Section: Linux Programmer's Manual (3) Updated: 2020-06-09 Index JM Home Page 名前 sem_
...
る値を 秒単位で指定する。このシグナルハンドラーは、 main() 内で sem_timedwait () を使って待っているセマフォ ...
ost() failed\n", 18); _exit(EXIT_FAILURE); } } int main(int argc, char *argv[]) { struct sigaction sa; str ...
ock_gettime"); ts.tv_sec += atoi(argv[2]); printf("main() about to call sem_timedwait()\n"); while ((s = s ...
-
https://man.plustar.jp/manpage/man3/sem_timedwait.3.html
- [similar]
- Man page of BACKTRACE 5996
- BACKTRACE Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前 bac
...
[0x804888d] ./prog(myfunc+0x1a) [0x804888d] ./prog(main+0x65) [0x80488fb] /lib/libc.so.6(__libc_start_main ...
lls > 1) myfunc(ncalls - 1); else myfunc2(); } int main(int argc, char *argv[]) { if (argc != 2) { fprintf ...
-
https://man.plustar.jp/manpage/man3/backtrace.3.html
- [similar]
- Man page of BACKTRACE 5996
- BACKTRACE Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前 bac
...
[0x804888d] ./prog(myfunc+0x1a) [0x804888d] ./prog(main+0x65) [0x80488fb] /lib/libc.so.6(__libc_start_main ...
lls > 1) myfunc(ncalls - 1); else myfunc2(); } int main(int argc, char *argv[]) { if (argc != 2) { fprintf ...
-
https://man.plustar.jp/manpage/man3/backtrace_symbols.3.html
- [similar]