8 #ifndef __SOLAR_CAPTURE_THREAD_H__
9 #define __SOLAR_CAPTURE_THREAD_H__
32 struct sc_session* scs);
37 extern struct sc_session*
52 struct timespec* time_out);
88 size_t bytes,
int align);
struct sc_session * sc_thread_get_session(const struct sc_thread *thread)
Return the session associated with a thread.
void * sc_thread_calloc_aligned(struct sc_thread *thread, size_t bytes, int align)
Allocate memory to be used by a thread.
void sc_thread_get_time(const struct sc_thread *thread, struct timespec *time_out)
Return a thread's "current time".
void sc_thread_mfree(struct sc_thread *thread, void *mem)
Free memory.
int sc_thread_alloc(struct sc_thread **thread_out, const struct sc_attr *attr, struct sc_session *scs)
Allocate a SolarCapture thread.
void * sc_thread_calloc(struct sc_thread *thread, size_t bytes)
Allocate memory to be used by a thread.
int sc_thread_poll(struct sc_thread *thread)
Poll a thread.