代码搜索:pThread

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

代码结果 7,828
www.eeworm.com/read/180227/5287705

c larg_stack.c

#include #include #include #include /* kmalloc */ pthread_t thread; #define SIZE 10000 /* large ugly array */ void * start_routine(void *arg) { struct s
www.eeworm.com/read/180227/5287801

c create_recursive.c

#include #include #include #define NTHREAD 5 #define THREAD_STACK_SIZE 20000 static pthread_t thread; static char preallocated [NTHREAD][THREAD_STACK_SIZE]; static pthr
www.eeworm.com/read/419387/2078627

c killed.c

#include #include #include #include int pid; void * child_func (void *dummy) { kill (pid, SIGKILL); exit (1); } int main () { pthread_t child;
www.eeworm.com/read/383065/2622721

wince-port

Some interesting news: I have been able to port pthread-win32 to Windows-CE, which uses a subset of the WIN32 API. Since we intend to keep using pthread-win32 for our Commercial WinCE developm
www.eeworm.com/read/360431/2963528

c thread.c

/* * Purpose: Test dblib thread safety */ #include "common.h" #ifdef TDS_HAVE_PTHREAD_MUTEX #include #include static char software_version[] = "$Id: thread.c,v 1.12 2007/1
www.eeworm.com/read/147608/12542583

c thread8.c

#include #include #include #include void *thread_function(void *arg); int main() { int res; pthread_t a_thread; void *thread_result; res
www.eeworm.com/read/133667/14030812

c thread8.c

#include #include #include #include void *thread_function(void *arg); int main() { int res; pthread_t a_thread; void *thread_result; res
www.eeworm.com/read/271054/11010462

c test_clone.c

#include "sched.h" #include "pthread.h" #include "stdio.h" #include "stdlib.h" #include "semaphore.h" int producer(void * args); int consumer(void *args); pthread_mutex_t mutex; sem_t produc
www.eeworm.com/read/464132/7168987

cpp mysync.cpp

#include #include #include #include #include #include #include"../include/mysync.h" MyMutex::MyMutex() { error = pthread_mutex_init(&a_mu
www.eeworm.com/read/330693/12874684

txt 代码.txt

#include "semaphore.h" #include "pthread.h" #include "stdio.h" #include "sys/time.h" #include "stdlib.h" #define readernumber 10; #define writernumber 3; pthread_mut_t mut; sem_t full[20]