Last change
on this file since 22145 was 21916, checked in by dmik, 14 years ago |
Merge branch gcc-kmk to trunk.
|
-
Property svn:eol-style
set to
native
|
File size:
727 bytes
|
Line | |
---|
1 | /*
|
---|
2 | * Auxiliary thread API
|
---|
3 | *
|
---|
4 | * Used to execute code on a dedicated thread.
|
---|
5 | *
|
---|
6 | * Project Odin Software License can be found in LICENSE.TXT
|
---|
7 | *
|
---|
8 | */
|
---|
9 |
|
---|
10 | #ifndef __AUXTHREAD_H__
|
---|
11 | #define __AUXTHREAD_H__
|
---|
12 |
|
---|
13 | #ifndef VOID
|
---|
14 | #define VOID void
|
---|
15 | #endif
|
---|
16 |
|
---|
17 | #ifdef __cplusplus
|
---|
18 | extern "C" {
|
---|
19 | #endif
|
---|
20 |
|
---|
21 | typedef PVOID (* PAUXTHREADFN)(PVOID arg1, PVOID arg2, PVOID arg3, PVOID arg4);
|
---|
22 |
|
---|
23 | BOOL WIN32API RunOnAuxThread(PAUXTHREADFN pfn, PVOID arg1, PVOID arg2,
|
---|
24 | PVOID arg3, PVOID arg4);
|
---|
25 |
|
---|
26 | BOOL WIN32API RunOnAuxThreadAndWait(PAUXTHREADFN pfn, PVOID arg1, PVOID arg2,
|
---|
27 | PVOID arg3, PVOID arg4, PVOID *ret);
|
---|
28 |
|
---|
29 | VOID StopAuxThread();
|
---|
30 |
|
---|
31 | #ifdef __cplusplus
|
---|
32 | } // extern "C"
|
---|
33 | #endif
|
---|
34 |
|
---|
35 | #endif //__AUXTHREAD_H__
|
---|
Note:
See
TracBrowser
for help on using the repository browser.