20 lines
439 B
C++
20 lines
439 B
C++
#ifndef cwThreadMach_H
|
|
#define cwThreadMach_H
|
|
|
|
namespace cw
|
|
{
|
|
namespace thread_mach
|
|
{
|
|
typedef handle<struct thread_mach_str> handle_t;
|
|
typedef thread::cbFunc_t threadFunc_t;
|
|
|
|
rc_t create( handle_t& hRef, threadFunc_t threadFunc, void* contextArray, unsigned contexRecdByteN, unsigned threadN );
|
|
rc_t destroy( handle_t& hRef );
|
|
rc_t start( handle_t h );
|
|
rc_t stop( handle_t h );
|
|
|
|
}
|
|
}
|
|
|
|
#endif
|