diff options
author | waker <wakeroid@gmail.com> | 2009-07-05 21:36:02 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2009-07-05 21:36:02 +0200 |
commit | a55523d7f3758d1fa46b8f8d063c57229db27bf3 (patch) | |
tree | 7c3dcc5cff415dac6d3a21857a407fddef210366 /messagepump.h | |
parent | 19208d2ef24773b6f50fc431628a575eae740a54 (diff) |
[wip] multithreading
Diffstat (limited to 'messagepump.h')
-rw-r--r-- | messagepump.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/messagepump.h b/messagepump.h new file mode 100644 index 00000000..bf88d63d --- /dev/null +++ b/messagepump.h @@ -0,0 +1,12 @@ +#ifndef __MESSAGEPUMP_H +#define __MESSAGEPUMP_H + +#include <stdint.h> + +int messagepump_init (void); +void messagepump_free (void); +int messagepump_push (uint32_t id, uintptr_t ctx, uint32_t p1, uint32_t p2); +int messagepump_pop (uint32_t *id, uintptr_t *ctx, uint32_t *p1, uint32_t *p2); +//int messagepump_hasmessages (void); + +#endif // __MESSAGEPUMP_H |