...e,这个函数有以下四个参数:一个指向pthread_t变量的指针,新创建的线程的id将保存在这里一个指向线程属性(thread attribute)的指针一个指向线程函数的指针void* (*) (void*)一个类型为void*的指针,指向传递给线程函数的参数wait用来等待一个进程的结束,...
基于16个网页-相关网页
In Listing 1, pthread_create is called to create a new thread with a default thread attribute.
清单1中调用了pthread_create来创建一个含默认线程属性的新线程。
To make a recursive call, you must either code the recursive clause (or attribute) in the PROGRAM-ID paragraph of the recursively called program or specify the THREAD compiler option.
要执行递归调用,必须在以递归方式调用的程序的PROGRAM - ID段落中编写RECUR sive子句(或属性),或指定THREAD编译器选项。
If your program has the RECURSIVE attribute or is compiled with the THREAD compiler option, data that is defined in the LINKAGE SECTION is not accessible on subsequent invocations of the program.
如果程序包含RECUR SIVE属性,或使用THREAD编译器选项编译,那么后续的程序调用将无法访问LINKAGE SECTION中定义的数据。
应用推荐