⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pthread.ps

📁 Linux下的中文输入法
💻 PS
📖 第 1 页 / 共 5 页
字号:
0.28 0.05 (inter) 602.21 340.37 B0.28 0.05 (-process synchronization) 612.32 340.37 B471.97 591.19 634.76 591.19 2 LV0 ZN471.97 580.94 634.76 580.94 2 LV0.3 HN471.97 498.94 634.76 498.94 2 LV0.18 HN471.97 419.35 689.03 419.35 2 LVN471.97 409.1 689.03 409.1 2 LV0.3 HN471.97 337.35 689.03 337.35 2 LV0.18 HNFMENDPAGE%%EndPage: "mini" 1%%Page: "mini" 2612 792 1 FMBEGINPAGE[0 0 0 1 0 0 0][ 0 1 1 0 1 0 0][ 1 0 1 0 0 1 0][ 1 1 0 0 0 0 1][ 1 0 0 0 0 1 1][ 0 1 0 0 1 0 1][ 0 0 1 0 1 1 0] 7 FrameSetSepColorsFrameNoSep27 -62.74 639 729.26 C0 0 0 1 0 0 0 K0 0 0 1 0 0 0 K0 0 0 1 0 0 0 K0 0 0 1 0 0 0 K1 1 0 0 0 0 1 K0 5.43 Q0 X1 1 0 0 0 0 1 K0.05 (3) 59.56 274.65 S0 0 0 1 0 0 0 K1 1 0 0 0 0 1 K1 F-0.35 0.05 (POSIX.1c/D10 Summary) 146.38 274.65 B0 F-0.35 0.05 (\321) 201.37 274.65 B1 F-0.35 0.05 (May 1995) 206.85 274.65 B0 0 0 1 0 0 0 K363.44 702.13 59.56 702.13 2 L0.18 H2 Z0 0 0 1 0 0 0 KN138.55 345.64 264.41 356.19 R7 XV0 6.03 Q0 X0.31 0.06 (If) 102.97 681.83 B3 F0.31 0.06 (_POSIX_THREAD_PRIO_PROTECT) 108.99 681.83 B0 F0.31 0.06 ( is de\336ned then) 211.05 681.83 B3 F0.31 0.06 (_POSIX_THREAD_PRIORITY_SCHEDULING) 102.97 674.35 B0 F0.31 0.06 ( is de\336ned.) 231.92 674.35 B0.31 0.06 (If) 102.97 662.05 B3 F0.31 0.06 (_POSIX_THREAD_PRIORITY_SCHEDULING) 108.99 662.05 B0 F0.31 0.06 ( is de\336ned then) 237.94 662.05 B3 F0.31 0.06 (_POSIX_THREADS) 278.34 662.05 B0 F0.31 0.06 ( is de\336ned.) 332.78 662.05 B0.31 0.06 (If) 102.97 649.76 B3 F0.31 0.06 (_POSIX_THREADS) 108.99 649.76 B0 F0.31 0.06 ( is de\336ned then) 163.43 649.76 B3 F0.31 0.06 (_POSIX_THREAD_SAFE_FUNCTIONS) 203.84 649.76 B0 F0.31 0.06 ( is de\336ned.) 312.72 649.76 B1 9.04 Q-0.56 (POSIX.1c API) 59.56 629.42 P0 6.03 Q0.31 0.06 (In the following sections, function ar) 102.97 616.35 B0.31 0.06 (guments that are of the form:) 195.81 616.35 B2 5.43 Q(type name =) 124.68 606.87 T5 F(NULL) 163.75 606.87 T0 6.03 Q0.31 0.06 (indicate that a value of) 102.97 595.01 B3 F0.31 0.06 (NULL) 162.47 595.01 B0 F0.31 0.06 ( may safely be used for) 179.46 595.01 B2 F0.74 0.06 (name) 240.39 595.01 B0 F0.31 0.06 (.) 255.1 595.01 B2 5.43 Q(int) 59.56 573.22 T(pthread_atfork\050 void \050*prepare\051\050void\051 =) 81.27 573.22 T5 F(NULL) 211.5 573.22 T2 F(,) 224.52 573.22 T(void \050*parent\051\050void\051 =) 146.38 564.18 T5 F(NULL) 221.27 564.18 T2 F(,) 234.29 564.18 T(void \050*child\051\050void\051 =) 146.38 555.14 T5 F(NULL) 218.01 555.14 T2 F( \051;) 231.04 555.14 T0 6.03 Q0.31 0.06 (Register functions to be called during fork execution.) 102.97 545.69 B0.06 (errors) 102.97 538.21 S3 F0.06 (ENOMEM) 135.53 538.21 S0 F0.06 (notes) 102.97 530.74 S2 F0.74 0.06 (prepare) 135.53 530.74 B0 F0.31 0.06 ( functions are called in reverse order of registration.) 161.27 530.74 B2 F0.74 0.06 (parent) 135.53 523.26 B0 F0.31 0.06 ( and) 157.6 523.26 B2 F0.74 0.06 (child) 170.25 523.26 B0 F0.31 0.06 ( functions are called in order of registration.) 188.64 523.26 B1 9.04 Q-0.56 (Thr) 59.56 502.92 P-0.56 (ead Attributes) 72.29 502.92 P0 6.03 Q0.31 0.06 (All thread attributes are set in an attribute object by a function of the form:) 102.97 489.86 B2 5.43 Q(int) 124.68 480.37 T(pthread_attr_set) 146.38 480.37 T4 F(name) 198.48 480.37 T2 F(\050 pthread_attr_t *attr,) 211.5 480.37 T4 F(Type) 289.64 480.37 T2 F( t \051;) 302.66 480.37 T0 6.03 Q0.31 0.06 (All thread attributes are retrieved from an attribute object by a function of the form:) 102.97 468.51 B2 5.43 Q(int) 124.68 459.03 T(pthread_attr_get) 146.38 459.03 T4 F(name) 198.48 459.03 T2 F(\050 const pthread_attr_t *attr,) 211.5 459.03 T4 F(Type) 309.17 459.03 T2 F( *t \051;) 322.2 459.03 T0 6.03 Q0.31 0.06 (Where) 102.97 447.17 B4 F0.74 0.06 (name) 121.22 447.17 B0 F0.31 0.06 ( and) 135.93 447.17 B4 F0.74 0.06 (Type) 148.58 447.17 B0 F0.31 0.06 ( are from the table below) 163.29 447.17 B0.31 0.06 (.) 226.42 447.17 B1 5.43 Q0.28 0.05 (T) 146.38 434.31 B0.28 0.05 (able 0-3) 148.96 434.31 B0 F0.28 0.05 (Thread Attributes) 172.43 434.31 B3 F0.28 0.05 (Name and T) 59.56 421.64 B0.28 0.05 (ype) 88.91 421.64 B0.28 0.05 (Featur) 135.53 421.64 B0.28 0.05 (e T) 151.43 421.64 B0.28 0.05 (est Macr) 158.76 421.64 B0.28 0.05 (o) 179.72 421.64 B0.05 (V) 265.76 421.64 S0.05 (alue\050s\051) 269.24 421.64 S2 F0.66 0.05 (int inheritsched) 59.56 411.39 B3 F0.05 (_POSIX_THREAD_PRIORITY_SCHEDULING) 135.53 411.39 S0.05 (PTHREAD_INHERIT_SCHED,) 265.76 411.39 S0.05 (PTHREAD_EXPLICIT_SCHED) 265.76 401.14 S2 F0.66 0.05 (int schedpolicy) 59.56 390.89 B3 F0.05 (_POSIX_THREAD_PRIORITY_SCHEDULING) 135.53 390.89 S0.05 (SCHED_FIFO,) 265.76 390.89 S0.05 (SCHED_RR,) 265.76 380.64 S0.05 (SCHED_OTHER) 265.76 370.39 S2 F0.66 0.05 (struct sched_param) 59.56 360.14 B0.05 (schedparam) 59.56 352.91 S3 F0.05 (_POSIX_THREADS) 135.53 360.14 S0 F0.28 0.05 (POSIX.1b, Section 13) 265.76 360.14 B2 F0.66 0.05 (int contentionscope) 59.56 342.66 B3 F0.05 (_POSIX_THREAD_PRIORITY_SCHEDULING) 135.53 342.66 S0.05 (PTHREAD_SCOPE_SYSTEM,) 265.76 342.66 S0.05 (PTHREAD_SCOPE_PROCESS) 265.76 332.41 S2 F0.66 0.05 (size_t stacksize) 59.56 322.16 B3 F0.05 (_POSIX_THREAD_A) 135.53 322.16 S0.05 (TTR_ST) 187.8 322.16 S0.05 (ACKSIZE) 208.23 322.16 S0 F0.28 0.05 (>=) 265.76 322.16 B3 F0.28 0.05 (PTHREAD_ST) 273.69 322.16 B0.28 0.05 (ACK_MIN) 309.71 322.16 B59.56 428.88 363.44 428.88 2 LV0 ZN59.56 418.63 363.44 418.63 2 LV0.3 HN59.56 319.15 363.44 319.15 2 LV0.18 HN396 -62.74 1008 729.26 C0 0 0 1 0 0 0 K0 0 0 1 0 0 0 K0 0 0 1 0 0 0 K0 0 0 1 0 0 0 K1 1 0 0 0 0 1 K0 0 0 1 0 0 0 K1 1 0 0 0 0 1 K1 5.43 Q0 X1 1 0 0 0 0 1 K-0.35 0.05 (POSIX.1c/D10 Summary) 515.38 274.65 B0 0 0 1 0 0 0 K1 1 0 0 0 0 1 K0 F0.05 (4) 729.67 274.65 S0 0 0 1 0 0 0 K732.44 702.13 428.56 702.13 2 L0.18 H2 Z0 0 0 1 0 0 0 KN507.55 345.64 633.41 356.19 R7 XV2 F0 X(int) 428.56 624.96 T(pthread_attr_init\050 pthread_attr_t *attr \051;) 450.27 624.96 T0 6.03 Q0.31 0.06 (Initialize a thread attribute object.) 471.97 615.51 B0.06 (errors) 471.97 608.03 S3 F0.06 (ENOMEM) 504.53 608.03 S2 5.43 Q(int) 428.56 598.55 T(pthread_attr_destroy\050 pthread_attr_t *attr \051;) 450.27 598.55 T0 6.03 Q0.31 0.06 (Destroy a thread attribute object.) 471.97 589.1 B0.06 (errors) 471.97 581.62 S0.06 (none) 504.53 581.62 S1 9.04 Q-0.56 (Thr) 428.56 561.29 P-0.56 (ead Management) 441.29 561.29 P2 5.43 Q(int) 428.56 549.83 T(pthread_create\050 pthread_t *thread,) 450.27 549.83 T(const pthread_attr_t *attr =) 515.38 540.79 T5 F(NULL) 609.8 540.79 T2 F(,) 622.83 540.79 T(void *\050*entry\051\050void *\051, void *arg \051;) 515.38 531.74 T0 6.03 Q0.31 0.06 (Create a new thread of execution.) 471.97 522.3 B0.06 (errors) 471.97 514.82 S3 F0.31 0.06 (EAGAIN) 504.53 514.82 B0 F0.31 0.06 (,) 529.01 514.82 B3 F0.31 0.06 (EINV) 532.46 514.82 B0.31 0.06 (AL) 546.99 514.82 B0 F0.06 (note) 471.97 507.34 S0.31 0.06 (Maximum number of) 504.53 507.34 B3 F0.31 0.06 (PTHREAD_THREADS_MAX) 559.64 507.34 B0 F0.31 0.06 ( threads per process.) 639.84 507.34 B2 5.43 Q(int) 428.56 497.86 T(pthread_detach\050 pthread_t thread \051;) 450.27 497.86 T0 6.03 Q0.31 0.06 (Set the) 471.97 488.41 B2 F0.74 0.06 (detachstate) 491.17 488.41 B0 F0.31 0.06 ( of the speci\336ed thread to) 531.62 488.41 B3 F0.31 0.06 (PTHREAD_CREA) 597.76 488.41 B0.31 0.06 (TE_DET) 647.61 488.41 B0.31 0.06 (ACHED) 670.98 488.41 B0 F0.31 0.06 (.) 693.05 488.41 B0.06 (errors) 471.97 480.93 S3 F0.31 0.06 (EINV) 504.53 480.93 B0.31 0.06 (AL) 519.07 480.93 B0 F0.31 0.06 (,) 527.56 480.93 B3 F0.31 0.06 (ESRCH) 531.01 480.93 B2 5.43 Q(pthread_t) 428.56 471.45 T(pthread_self\050 void \051;) 471.97 471.45 T0 6.03 Q0.31 0.06 (Return the thread ID of the calling thread.) 471.97 462 B0.06 (errors) 471.97 454.52 S0.06 (none) 504.53 454.52 S2 5.43 Q(int) 428.56 445.04 T(pthread_equal\050 pthread_t t1, pthread_t t2 \051;) 450.27 445.04 T0 6.03 Q0.31 0.06 (Compare two thread IDs for equality) 471.97 435.59 B0.31 0.06 (.) 564.17 435.59 B0.06 (errors) 471.97 428.12 S0.06 (none) 504.53 428.12 S2 5.43 Q(void) 428.56 418.63 T(pthread_exit\050 void *status = NULL \051;) 450.27 418.63 T0 6.03 Q0.31 0.06 (T) 471.97 409.18 B0.31 0.06 (erminate the calling thread.) 475.29 409.18 B0.06 (errors) 471.97 401.71 S0.06 (none) 504.53 401.71 S2 5.43 Q(int) 428.56 392.22 T(pthread_join\050 pthread_t thread, void **status =) 450.27 392.22 T5 F(NULL) 606.55 392.22 T2 F( \051;) 619.57 392.22 T0 6.03 Q0.31 0.06 (Synchronize with the termination of a thread.) 471.97 382.78 B0.06 (errors) 471.97 375.3 S3 F0.31 0.06 (EINV) 504.53 375.3 B0.31 0.06 (AL) 519.07 375.3 B0 F0.31 0.06 (,) 527.56 375.3 B3 F0.31 0.06 (ESRCH) 531.01 375.3 B0 F0.31 0.06 (,) 552.08 375.3 B3 F0.31 0.06 (EDEADLK) 555.53 375.3 B0 F0.06 (note) 471.97 367.82 S0.31 0.06 (This function is a cancellation point.) 504.53 367.82 B2 5.43 Q(#include <sched.h>) 428.56 358.34 T(int) 428.56 349.29 T(pthread_getschedparam\050 pthread_t thread, int *policy, struct sched_param *param \051;) 450.27 349.29 T0 6.03 Q0.31 0.06 (Get the scheduling policy and parameters of the speci\336ed thread.) 471.97 339.85 B0.06 (control) 471.97 332.37 S3 F0.06 (_POSIX_THREAD_PRIORITY_SCHEDULING) 504.53 332.37 S0 F0.06 (errors) 471.97 324.89 S3 F0.31 0.06 (ENOSYS) 504.53 324.89 B0 F0.31 0.06 (,) 529.02 324.89 B3 F0.31 0.06 (ESRCH) 532.46 324.89 B2 5.43 Q(#include <sched.h>) 428.56 315.41 T(int) 428.56 306.36 T(pthread_setschedparam\050 pthread_t thread, int policy,) 450.27 306.36 T(const struct sched_param *param \051;) 515.38 297.32 T0.66 0.05 (void *stackaddr) 428.56 659.32 B3 F0.05 (_POSIX_THREAD_A) 504.53 659.32 S0.05 (TTR_ST) 556.8 659.32 S0.05 (ACKADDR) 577.23 659.32 S2 F0.66 0.05 (void *stack) 634.76 659.32 B0.66 0.05 (int detachstate) 428.56 649.07 B3 F0.05 (_POSIX_THREADS) 504.53 649.07 S0.05 (PTHREAD_CREA) 634.76 649.07 S0.05 (TE_DET) 679.63 649.07 S0.05 (ACHED,) 700.66 649.07 S0.05 (PTHREAD_CREA) 634.76 638.82 S0.05 (TE_JOINABLE) 679.63 638.82 S1 F0.28 0.05 (T) 515.38 682.23 B0.28 0.05 (able 0-3) 517.96 682.23 B0 F0.28 0.05 (Thread Attributes) 541.43 682.23 B3 F0.28 0.05 (Name and T) 428.56 669.57 B0.28 0.05 (ype) 457.91 669.57 B0.28 0.05 (Featur) 504.53 669.57 B0.28 0.05 (e T) 520.43 669.57 B0.28 0.05 (est Macr) 527.76 669.57 B0.28 0.05 (o) 548.72 669.57 B0.05 (V) 634.76 669.57 S0.05 (alue\050s\051) 638.24 669.57 S428.56 676.81 732.44 676.81 2 LV0 ZN428.56 666.56 732.44 666.56 2 LV0.3 HN428.56 635.81 732.44 635.81 2 LV0.18 HNFMENDPAGE%%EndPage: "mini" 2%%Page: "mini" 3612 792 1 FMBEGINPAGE[0 0 0 1 0 0 0][ 0 1 1 0 1 0 0][ 1 0 1 0 0 1 0][ 1 1 0 0 0 0 1][ 1 0 0 0 0 1 1][ 0 1 0 0 1 0 1][ 0 0 1 0 1 1 0] 7 FrameSetSepColorsFrameNoSep27 -62.74 639 729.26 C0 0 0 1 0 0 0 K0 0 0 1 0 0 0 K0 0 0 1 0 0 0 K0 0 0 1 0 0 0 K1 1 0 0 0 0 1 K0 5.43 Q0 X1 1 0 0 0 0 1 K0.05 (5) 59.56 274.65 S0 0 0 1 0 0 0 K1 1 0 0 0 0 1 K1 F-0.35 0.05 (POSIX.1c/D10 Summary) 146.38 274.65 B0 F-0.35 0.05 (\321) 201.37 274.65 B1 F-0.35 0.05 (May 1995) 206.85 274.65 B0 0 0 1 0 0 0 K363.44 702.13 59.56 702.13 2 L0.18 H2 Z0 0 0 1 0 0 0 KN138.55 345.64 264.41 356.19 R7 XV0 6.03 Q0 X0.31 0.06 (Set the scheduling policy and parameters of the speci\336ed thread.) 102.97 681.83 B0.06 (control) 102.97 674.35 S3 F0.06 (_POSIX_THREAD_PRIORITY_SCHEDULING) 135.53 674.35 S0 F0.06 (errors) 102.97 666.88 S3 F0.31 0.06 (ENOSYS) 135.53 666.88 B0 F0.31 0.06 (,) 160.01 666.88 B3 F0.31 0.06 (EINV) 163.46 666.88 B0.31 0.06 (AL) 178 666.88 B0 F0.31 0.06 (,) 186.5 666.88 B3 F0.31 0.06 (ENOTSUP) 189.94 666.88 B0 F0.31 0.06 (,) 218.17 666.88 B3 F0.31 0.06 (EPERM) 221.62 666.88 B0 F0.31 0.06 (,) 243.7 666.88 B3 F0.31 0.06 (ESRCH) 247.14 666.88 B2 F0.06 (policy) 102.97 659.4 S0 F0.31 0.06 ({) 135.53 659.4 B3 F0.31 0.06 (SCHED_RR) 140.37 659.4 B0 F0.31 0.06 (,) 173.34 659.4 B3 F0.31 0.06 (SCHED_FIFO) 176.79 659.4 B0 F0.31 0.06 (,) 215.58 659.4 B3 F0.31 0.06 (SCHED_OTHER) 219.03 659.4 B0 F0.31 0.06 ( }) 265.26 659.4 B1 9.04 Q-0.56 (Mutex Attributes) 59.56 639.06 P0 6.03 Q0.31 0.06 (All mutex attributes are set in a mutex attribute object by a function of the form:) 102.97 626 B2 5.43 Q(int) 124.68 616.51 T(pthread_mutexattr_set) 146.38 616.51 T4 F(name)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -