Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section
*** 55,64 ****
--- 55,65 ----
#include <sys/synch32.h>
#include <schedctl.h>
#include <sys/priocntl.h>
#include <thread_db.h>
#include <setjmp.h>
+ #include <sys/thread.h>
#include "libc_int.h"
#include "tdb_agent.h"
#include "thr_debug.h"
/*
*** 1231,1240 ****
--- 1232,1242 ----
int scope;
int prio;
int policy;
int inherit;
size_t guardsize;
+ char name[THREAD_NAME_MAX];
} thrattr_t;
typedef struct _rwlattr {
int pshared;
} rwlattr_t;
*** 1490,1500 ****
extern int rw_read_held(rwlock_t *);
extern int rw_write_held(rwlock_t *);
extern int _thrp_create(void *, size_t, void *(*)(void *), void *, long,
! thread_t *, size_t);
extern int _thrp_suspend(thread_t, uchar_t);
extern int _thrp_continue(thread_t, uchar_t);
extern void _thrp_terminate(void *);
extern void _thrp_exit(void);
--- 1492,1502 ----
extern int rw_read_held(rwlock_t *);
extern int rw_write_held(rwlock_t *);
extern int _thrp_create(void *, size_t, void *(*)(void *), void *, long,
! thread_t *, size_t, const char *);
extern int _thrp_suspend(thread_t, uchar_t);
extern int _thrp_continue(thread_t, uchar_t);
extern void _thrp_terminate(void *);
extern void _thrp_exit(void);