pthread.h (173154) | pthread.h (177494) |
---|---|
1/* 2 * Copyright (c) 1993, 1994 by Chris Provenzano, proven@mit.edu 3 * Copyright (c) 1995-1998 by John Birrell <jb@cimlogic.com.au> 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 16 unchanged lines hidden (view full) --- 25 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 26 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 27 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 28 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * | 1/* 2 * Copyright (c) 1993, 1994 by Chris Provenzano, proven@mit.edu 3 * Copyright (c) 1995-1998 by John Birrell <jb@cimlogic.com.au> 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 16 unchanged lines hidden (view full) --- 25 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 26 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 27 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 28 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * |
33 * $FreeBSD: head/include/pthread.h 173154 2007-10-29 21:01:47Z kris $ | 33 * $FreeBSD: head/include/pthread.h 177494 2008-03-22 09:59:20Z davidxu $ |
34 */ 35#ifndef _PTHREAD_H_ 36#define _PTHREAD_H_ 37 38/* 39 * Header files. 40 */ 41#include <sys/cdefs.h> --- 138 unchanged lines hidden (view full) --- 180 pthread_mutex_t *, const struct timespec *); 181int pthread_cond_wait(pthread_cond_t *, pthread_mutex_t *); 182int pthread_create(pthread_t *, const pthread_attr_t *, 183 void *(*) (void *), void *); 184int pthread_detach(pthread_t); 185int pthread_equal(pthread_t, pthread_t); 186void pthread_exit(void *) __dead2; 187void *pthread_getspecific(pthread_key_t); | 34 */ 35#ifndef _PTHREAD_H_ 36#define _PTHREAD_H_ 37 38/* 39 * Header files. 40 */ 41#include <sys/cdefs.h> --- 138 unchanged lines hidden (view full) --- 180 pthread_mutex_t *, const struct timespec *); 181int pthread_cond_wait(pthread_cond_t *, pthread_mutex_t *); 182int pthread_create(pthread_t *, const pthread_attr_t *, 183 void *(*) (void *), void *); 184int pthread_detach(pthread_t); 185int pthread_equal(pthread_t, pthread_t); 186void pthread_exit(void *) __dead2; 187void *pthread_getspecific(pthread_key_t); |
188int pthread_getcpuclockid(pthread_t, clockid_t *); |
|
188int pthread_join(pthread_t, void **); 189int pthread_key_create(pthread_key_t *, 190 void (*) (void *)); 191int pthread_key_delete(pthread_key_t); 192int pthread_kill(pthread_t, int); 193int pthread_mutexattr_init(pthread_mutexattr_t *); 194int pthread_mutexattr_destroy(pthread_mutexattr_t *); 195int pthread_mutexattr_getpshared(const pthread_mutexattr_t *, --- 77 unchanged lines hidden --- | 189int pthread_join(pthread_t, void **); 190int pthread_key_create(pthread_key_t *, 191 void (*) (void *)); 192int pthread_key_delete(pthread_key_t); 193int pthread_kill(pthread_t, int); 194int pthread_mutexattr_init(pthread_mutexattr_t *); 195int pthread_mutexattr_destroy(pthread_mutexattr_t *); 196int pthread_mutexattr_getpshared(const pthread_mutexattr_t *, --- 77 unchanged lines hidden --- |