Merge branch 'fix-pthreads' into refs/top-bases/fix-branch
This commit is contained in:
commit
0106dabb11
|
@ -315,11 +315,14 @@ typedef void (task_func_t)(void *);
|
||||||
#define TQ_NOSLEEP KM_NOSLEEP /* cannot block for memory; may fail */
|
#define TQ_NOSLEEP KM_NOSLEEP /* cannot block for memory; may fail */
|
||||||
#define TQ_NOQUEUE 0x02 /* Do not enqueue if can't dispatch */
|
#define TQ_NOQUEUE 0x02 /* Do not enqueue if can't dispatch */
|
||||||
|
|
||||||
|
extern taskq_t *system_taskq;
|
||||||
|
|
||||||
extern taskq_t *taskq_create(const char *, int, pri_t, int, int, uint_t);
|
extern taskq_t *taskq_create(const char *, int, pri_t, int, int, uint_t);
|
||||||
extern taskqid_t taskq_dispatch(taskq_t *, task_func_t, void *, uint_t);
|
extern taskqid_t taskq_dispatch(taskq_t *, task_func_t, void *, uint_t);
|
||||||
extern void taskq_destroy(taskq_t *);
|
extern void taskq_destroy(taskq_t *);
|
||||||
extern void taskq_wait(taskq_t *);
|
extern void taskq_wait(taskq_t *);
|
||||||
extern int taskq_member(taskq_t *, void *);
|
extern int taskq_member(taskq_t *, void *);
|
||||||
|
extern void system_taskq_init(void);
|
||||||
|
|
||||||
#define XVA_MAPSIZE 3
|
#define XVA_MAPSIZE 3
|
||||||
#define XVA_MAGIC 0x78766174
|
#define XVA_MAGIC 0x78766174
|
||||||
|
|
Loading…
Reference in New Issue