1/*
2 * Copyright 2008 Google Inc. All Rights Reserved.
3 * Author: md@google.com (Michael Davidson)
4 */
5
6#ifndef THREADS_H_
7#define THREADS_H_
8
9typedef void  *(*thread_func_t)(void *);
10
11int create_threads(int num_threads, thread_func_t func, void *arg);
12int create_per_cpu_threads(cpu_set_t *cpus, thread_func_t func, void *arg);
13void join_threads(void);
14
15#endif /* THREADS_H_ */
16