• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /barrelfish-2018-10-04/lib/barrelfish/include/

Lines Matching defs:thread

16 /// Maximum number of thread-local storage keys
19 /** \brief TLS dynamic thread vector data structure
21 * See: ELF handling for thread-local storage. Ulrich Drepper, Dec 2005.
36 /** \brief A thread of execution / thread control block (TCB)
40 * it's not safe to directly malloc() or free() a thread structure.
42 struct thread {
46 struct thread *self; ///< Points to itself
48 struct tls_dtv *tls_dtv; ///< TLS thread vector
49 struct thread *next, *prev; ///< Next/prev threads in list
56 void *userptr; ///< User's thread local pointer
57 void *userptrs[MAX_TLS]; ///< User's thread local pointers
73 uintptr_t id; ///< User-defined thread identifier
82 struct waitset_chanstate *local_trigger; ///< Trigger for a local thread event
85 void thread_enqueue(struct thread *thread, struct thread **queue);
86 struct thread *thread_dequeue(struct thread **queue);
87 void thread_remove_from_queue(struct thread **queue, struct thread *thread);
107 void *thread_block(struct thread **queue);
108 void *thread_block_disabled(dispatcher_handle_t handle, struct thread **queue);
110 struct thread **queue,
112 struct thread *thread_unblock_one(struct thread **queue, void *reason);
113 struct thread *thread_unblock_one_disabled(dispatcher_handle_t handle,
114 struct thread **queue, void *reason);
115 struct thread *thread_unblock_all_disabled(dispatcher_handle_t handle,
116 struct thread **queue, void *reason);
118 struct thread *thread_create_unrunnable(thread_func_t start_func, void *arg,
121 void thread_init_remote(dispatcher_handle_t handle, struct thread *thread);