Print this page
3625 we only need one thread_create_intr
*** 671,689 ****
extern void set_all_proc_sys(void);
extern void set_all_zone_usr_proc_sys(zoneid_t);
/* thread function prototypes */
! extern kthread_t *thread_create(
! caddr_t stk,
! size_t stksize,
! void (*proc)(),
! void *arg,
! size_t len,
! proc_t *pp,
! int state,
! pri_t pri);
extern void thread_exit(void) __NORETURN;
extern void thread_free(kthread_t *);
extern void thread_rele(kthread_t *);
extern void thread_join(kt_did_t);
extern int reaper(void);
--- 671,682 ----
extern void set_all_proc_sys(void);
extern void set_all_zone_usr_proc_sys(zoneid_t);
/* thread function prototypes */
! extern kthread_t *thread_create(caddr_t, size_t, void (*)(), void *,
! size_t, proc_t *, int, pri_t);
extern void thread_exit(void) __NORETURN;
extern void thread_free(kthread_t *);
extern void thread_rele(kthread_t *);
extern void thread_join(kt_did_t);
extern int reaper(void);
*** 720,739 ****
extern int tsd_agent_set(kthread_t *, uint_t, void *);
/* lwp function prototypes */
extern kthread_t *lwp_kernel_create(proc_t *, void (*)(), void *, int, pri_t);
! extern klwp_t *lwp_create(
! void (*proc)(),
! caddr_t arg,
! size_t len,
! proc_t *p,
! int state,
! int pri,
! const k_sigset_t *smask,
! int cid,
! id_t lwpid);
extern kthread_t *idtot(proc_t *, id_t);
extern void lwp_hash_in(proc_t *, lwpent_t *, tidhash_t *, uint_t, int);
extern void lwp_hash_out(proc_t *, id_t);
extern lwpdir_t *lwp_hash_lookup(proc_t *, id_t);
extern lwpdir_t *lwp_hash_lookup_and_lock(proc_t *, id_t, kmutex_t **);
--- 713,724 ----
extern int tsd_agent_set(kthread_t *, uint_t, void *);
/* lwp function prototypes */
extern kthread_t *lwp_kernel_create(proc_t *, void (*)(), void *, int, pri_t);
! extern klwp_t *lwp_create(void (*)(), caddr_t, size_t, proc_t *, int, int,
! const k_sigset_t *, int, id_t);
extern kthread_t *idtot(proc_t *, id_t);
extern void lwp_hash_in(proc_t *, lwpent_t *, tidhash_t *, uint_t, int);
extern void lwp_hash_out(proc_t *, id_t);
extern lwpdir_t *lwp_hash_lookup(proc_t *, id_t);
extern lwpdir_t *lwp_hash_lookup_and_lock(proc_t *, id_t, kmutex_t **);