代码搜索:pThread

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

代码结果 7,828
www.eeworm.com/read/408584/11381459

lc pthread07.lc

#include "unpthread.h"## 1 ##src/server/pthread07.c## #include "pthread07.h"## 2 ##src/server/pthread07.c## void## 3 ##src/server/pthread07.c## thread_make(int i)## 4 ##src/server/pthread07
www.eeworm.com/read/408584/11381474

h pthread07.h

typedef struct { pthread_t thread_tid; /* thread ID */ long thread_count; /* # connections handled */ } Thread; Thread *tptr; /* array of Thread structures; calloc'ed */ int listenfd, nth
www.eeworm.com/read/408584/11381480

c pthread07.c

#include "unpthread.h" #include "pthread07.h" void thread_make(int i) { void *thread_main(void *); Pthread_create(&tptr[i].thread_tid, NULL, &thread_main, (void *) i); return; /* main thread ret
www.eeworm.com/read/408584/11381491

c lock_pthread.c

/* include my_lock_init */ #include "unpthread.h" #include static pthread_mutex_t *mptr; /* actual mutex will be in shared memory */ void my_lock_init(char *pathname) { int fd; pthre
www.eeworm.com/read/408502/11384954

h my_no_pthread.h

/* Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Publ
www.eeworm.com/read/408502/11384957

h my_pthread.h

/* Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Publ
www.eeworm.com/read/403447/11516761

c pthread_test.c

#include #include #include #include"pthread.h" void reader_function(void); void writer_function(void); char buffer; int buffer_has_item=0; pthread_mutex_t mutex;
www.eeworm.com/read/262462/11589028

h my_pthread.h

/* Copyright (C) 2000 MySQL AB This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Fou
www.eeworm.com/read/262351/11591259

h pthread_alloc.h

/* * Copyright (c) 1996-1997 * Silicon Graphics Computer Systems, Inc. * * Permission to use, copy, modify, distribute and sell this software * and its documentation for any purpose is hereby gra
www.eeworm.com/read/261166/11662572

h my_pthread.h

/* Copyright (C) 2000 MySQL AB This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Fou