--- pthread.h.in 2001/03/24 14:51:05 1.57
+++ pthread.h.in 2001/03/24 15:46:32 1.58
@@ -306,23 +306,25 @@
extern int pthread_attr_init(pthread_attr_t *);
extern int pthread_attr_destroy(pthread_attr_t *);
extern int pthread_attr_setinheritsched(pthread_attr_t *, int);
-extern int pthread_attr_getinheritsched(pthread_attr_t *, int *);
+extern int pthread_attr_getinheritsched(const pthread_attr_t *, int *);
extern int pthread_attr_setschedparam(pthread_attr_t *, struct sched_param *);
-extern int pthread_attr_getschedparam(pthread_attr_t *, struct sched_param *);
+extern int pthread_attr_getschedparam(const pthread_attr_t *, struct sched_param *);
extern int pthread_attr_setschedpolicy(pthread_attr_t *, int);
-extern int pthread_attr_getschedpolicy(pthread_attr_t *, int *);
+extern int pthread_attr_getschedpolicy(const pthread_attr_t *, int *);
extern int pthread_attr_setscope(pthread_attr_t *, int);
-extern int pthread_attr_getscope(pthread_attr_t *, int *);
+extern int pthread_attr_getscope(const pthread_attr_t *, int *);
extern int pthread_attr_setstacksize(pthread_attr_t *, size_t);
-extern int pthread_attr_getstacksize(pthread_attr_t *, size_t *);
+extern int pthread_attr_getstacksize(const pthread_attr_t *, size_t *);
extern int pthread_attr_setstackaddr(pthread_attr_t *, void *);
-extern int pthread_attr_getstackaddr(pthread_attr_t *, void **);
+extern int pthread_attr_getstackaddr(const pthread_attr_t *, void **);
extern int pthread_attr_setdetachstate(pthread_attr_t *, int);
-extern int pthread_attr_getdetachstate(pthread_attr_t *, int *);
+extern int pthread_attr_getdetachstate(const pthread_attr_t *, int *);
+extern int pthread_attr_setguardsize(pthread_attr_t *, int);
+extern int pthread_attr_getguardsize(const pthread_attr_t *, int *);
extern int pthread_attr_setname_np(pthread_attr_t *, char *);
-extern int pthread_attr_getname_np(pthread_attr_t *, char **);
+extern int pthread_attr_getname_np(const pthread_attr_t *, char **);
extern int pthread_attr_setprio_np(pthread_attr_t *, int);
-extern int pthread_attr_getprio_np(pthread_attr_t *, int *);
+extern int pthread_attr_getprio_np(const pthread_attr_t *, int *);
/* thread routines */
extern int pthread_create(pthread_t *, const pthread_attr_t *, void *(*)(void *), void *);
|