DragonFly BSD
DragonFly commits List (threaded) for 2006-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/lib/libthread_xu/thread thr_attr.c thr_barrier.c thr_barrierattr.c thr_cancel.c thr_clean.c thr_concurrency.c thr_cond.c thr_condattr.c thr_create.c thr_detach.c thr_equal.c thr_exit.c thr_fork.c thr_getprio.c thr_getschedparam.c thr_info.c ...


To: David Xu <davidxu@xxxxxxxxxxxxxxxxxxxxxxx>
From: Sascha Wildner <saw@xxxxxxxxx>
Date: Wed, 05 Apr 2006 06:46:48 +0200

David Xu wrote:
1.4 +8 -7 src/lib/libthread_xu/thread/thr_condattr.c

This breaks buildworld. I suggest:


Index: include/pthread.h
===================================================================
RCS file: /home/dcvs/src/include/pthread.h,v
retrieving revision 1.7
diff -u -r1.7 pthread.h
--- include/pthread.h   15 Mar 2005 12:27:43 -0000      1.7
+++ include/pthread.h   5 Apr 2006 04:42:48 -0000
@@ -227,8 +227,8 @@
 int            pthread_condattr_setpshared(pthread_condattr_t *, int);
 #endif

-int pthread_condattr_getclock(const pthread_condattr_t *, int *);
-int pthread_condattr_setclock(pthread_condattr_t *, int);
+int pthread_condattr_getclock(const pthread_condattr_t *, clockid_t *);
+int pthread_condattr_setclock(pthread_condattr_t *, clockid_t);


 int            pthread_cond_broadcast(pthread_cond_t *);
 int            pthread_cond_destroy(pthread_cond_t *);



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]