Rudiments
Main Page
Classes
include
rudiments
thread.h
1
// Copyright (c) 2013 David Muse
2
// See the COPYING file for more information.
3
4
#ifndef RUDIMENTS_THREAD_H
5
#define RUDIMENTS_THREAD_H
6
7
#include <rudiments/private/threadincludes.h>
8
9
class
threadprivate;
10
12
class
RUDIMENTS_DLLSPEC
thread
{
13
public
:
15
thread
();
16
18
virtual
~
thread
();
19
22
void
setFunction(
void
*(*
function
)(
void
*),
void
*arg);
23
26
bool
setStackSize(
size_t
stacksize);
27
30
bool
getStackSize(
size_t
*stacksize);
31
35
bool
create();
36
41
void
exit(int32_t *status);
42
48
bool
join(int32_t *status);
49
53
bool
detach();
54
56
bool
cancel();
57
59
bool
raiseSignal(int32_t signum);
60
63
static
bool
supportsThreads();
64
65
#include <rudiments/private/thread.h>
66
};
67
68
#endif
thread
Definition:
thread.h:12
Generated on Wed Oct 1 2014 02:59:34 for Rudiments by
1.8.6