/*
 * threadwrap.h
 *
 *  Created on: 10.01.2011
 *      Author: uwe
 */

#ifndef THREADWRAP_H_
#define THREADWRAP_H_

#include <pthread.h>

#define MAXTHREADS 16
#define USETHREADS 1

#define MPT_THREAD_T pthread_t
#define MPT_THREAD_CREATE(tid, attr, func, arg) pthread_create(tid, attr, func, arg)
#define MPT_THREAD_JOIN(tid, retval)	pthread_join(tid, retval)

#endif /* THREADWRAP_H_ */
