Changeset 7300
- Timestamp:
- 12/27/07 14:51:06
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
gnuradio/branches/releases/3.1/omnithread/ot_pthread_nt.h
r4328 r7300 129 129 130 130 int pthread_create(pthread_t *thread, const pthread_attr_t *attr, 131 void *(*start_routine)(void*), void *arg);131 void *(*start_routine)(void*), void *arg); 132 132 int pthread_detach(pthread_t thread); 133 133 int pthread_join(pthread_t thread, void **value_ptr); … … 137 137 int pthread_attr_setstacksize(pthread_attr_t *attr, size_t stacksize); 138 138 int pthread_attr_getstacksize(const pthread_attr_t *attr, 139 size_t *stacksize);139 size_t *stacksize); 140 140 int pthread_cond_init(pthread_cond_t *cond, 141 const pthread_condattr_t *attr);141 const pthread_condattr_t *attr); 142 142 int pthread_cond_destroy(pthread_cond_t *cond); 143 143 int pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex); 144 144 int pthread_cond_timedwait(pthread_cond_t *cond, 145 pthread_mutex_t *mutex,146 const struct timespec *abstime);145 pthread_mutex_t *mutex, 146 const struct timespec *abstime); 147 147 int pthread_cond_signal(pthread_cond_t *cond); 148 148 int pthread_cond_broadcast(pthread_cond_t *cond); … … 151 151 int pthread_mutex_destroy(pthread_mutex_t *mutex); 152 152 int pthread_mutex_init(pthread_mutex_t *mutex, 153 const pthread_mutexattr_t *attr);153 const pthread_mutexattr_t *attr); 154 154 int pthread_mutex_lock(pthread_mutex_t *mutex); 155 155 int pthread_mutex_trylock(pthread_mutex_t *mutex); … … 159 159 void *pthread_getspecific(pthread_key_t key); 160 160 int pthread_getschedparam(pthread_t thread, int *policy, 161 struct sched_param *param);161 struct sched_param *param); 162 162 int pthread_setschedparam(pthread_t thread, int policy, 163 const struct sched_param *param);163 const struct sched_param *param); 164 164 int pthread_attr_setschedparam(pthread_attr_t *attr, 165 const struct sched_param *param);165 const struct sched_param *param); 166 166 int pthread_attr_getschedparam(const pthread_attr_t *attr, 167 struct sched_param *param);167 struct sched_param *param); 168 168 169 169 int pthread_delay_np(const struct timespec *interval); 170 170 int pthread_get_expiration_np(const struct timespec *delta, 171 struct timespec *abstime);171 struct timespec *abstime); 172 172 173 173 # define SCHED_FIFO 1
