代码搜索:pThread

找到约 7,828 项符合「pThread」的源代码

代码结果 7,828
www.eeworm.com/read/128880/14273960

c testcancel.c

#include "unpipc.h" #include "pthread_rwlock.h" pthread_rwlock_t rwlock = PTHREAD_RWLOCK_INITIALIZER; void *thread1(void *), *thread2(void *); pthread_t tid1, tid2; int main(int argc, char **argv)
www.eeworm.com/read/113863/15446446

c testcancel.c

#include "unpipc.h" #include "pthread_rwlock.h" pthread_rwlock_t rwlock = PTHREAD_RWLOCK_INITIALIZER; void *thread1(void *), *thread2(void *); pthread_t tid1, tid2; int main(int argc, char **argv)
www.eeworm.com/read/100584/15871021

c testcancel.c

#include "unpipc.h" #include "pthread_rwlock.h" pthread_rwlock_t rwlock = PTHREAD_RWLOCK_INITIALIZER; void *thread1(void *), *thread2(void *); pthread_t tid1, tid2; int main(int argc, char **argv)
www.eeworm.com/read/216781/4888116

c test2.c

/* verify that calling pthread_*attr_destroy() avoids memory leak */ #include "unpipc.h" int main(int argc, char **argv) { pthread_mutexattr_t mattr; pthread_condattr_t cattr; for ( ;
www.eeworm.com/read/216781/4888120

c test1.c

/* verify that not calling pthread_*attr_destroy() causes memory leak */ #include "unpipc.h" int main(int argc, char **argv) { pthread_mutexattr_t mattr; pthread_condattr_t cattr; for
www.eeworm.com/read/198916/5080799

c test2.c

/* verify that calling pthread_*attr_destroy() avoids memory leak */ #include "unpipc.h" int main(int argc, char **argv) { pthread_mutexattr_t mattr; pthread_condattr_t cattr; for ( ;
www.eeworm.com/read/198916/5080803

c test1.c

/* verify that not calling pthread_*attr_destroy() causes memory leak */ #include "unpipc.h" int main(int argc, char **argv) { pthread_mutexattr_t mattr; pthread_condattr_t cattr; for
www.eeworm.com/read/183272/9172311

c threadid.c

#include "apue.h" #include pthread_t ntid; void printids(const char *s) { pid_t pid; pthread_t tid; pid = getpid(); tid = pthread_self(); printf("%s pid %u tid %u (0x%x)\n", s, (u
www.eeworm.com/read/183272/9172337

bak threadid.c.bak

#include "apue.h" #include pthread_t ntid; void printids(const char *s) { pid_t pid; pthread_t tid; pid = getpid(); tid = pthread_self(); printf("%s pid %u tid %u (0x%x)\n", s, (u
www.eeworm.com/read/200278/5070772

c threadid.c

#include "apue.h" #include pthread_t ntid; void printids(const char *s) { pid_t pid; pthread_t tid; pid = getpid(); tid = pthread_self(); printf("%s pid %u tid %u (0x%x)\n", s, (u