summaryrefslogtreecommitdiff
path: root/retro_emu_thread.h
diff options
context:
space:
mode:
authorAutechre2021-03-09 20:31:50 +0100
committerGitHub2021-03-09 20:31:50 +0100
commit45c8ef0a0bdf0557ab9c1153b5a6e77298cca34a (patch)
tree45b66118646d122a395cfecf2d740bed854c4e45 /retro_emu_thread.h
parent6a8aa84200eb92a7f3f1b4befb0630d95ad59b8e (diff)
parent0522d9a4f535a61953da64518097fc7f64d7120c (diff)
downloadpicogpsp-45c8ef0a0bdf0557ab9c1153b5a6e77298cca34a.tar.gz
picogpsp-45c8ef0a0bdf0557ab9c1153b5a6e77298cca34a.tar.bz2
picogpsp-45c8ef0a0bdf0557ab9c1153b5a6e77298cca34a.zip
Merge pull request #101 from davidgfnet/master
Remove libco
Diffstat (limited to 'retro_emu_thread.h')
-rw-r--r--retro_emu_thread.h51
1 files changed, 0 insertions, 51 deletions
diff --git a/retro_emu_thread.h b/retro_emu_thread.h
deleted file mode 100644
index 472ae8b..0000000
--- a/retro_emu_thread.h
+++ /dev/null
@@ -1,51 +0,0 @@
-#ifndef EMU_THREAD_H
-#define EMU_THREAD_H
-
-#include "common.h"
-
-/* gpSP doesn't have a top-level main loop that we can use, so instead we run it in its own thread
- * and switch between it and the main thread. Calling this function will block the current thread
- * and unblock the other.
- *
- * This function can be called from either the main or the emulation thread.
- */
-void retro_switch_thread(void);
-
-/* Initialize the emulation thread and any related resources.
- *
- * Only call this function from the main thread.
- */
-bool retro_init_emu_thread(bool dynarec, u32 cycles);
-
-/* Destroy the emulation thread and any related resources. Only call this after the emulation thread
- * has finished (or canceled) and joined.
- *
- * Only call this function from the main thread.
- */
-void retro_deinit_emu_thread(void);
-
-/* Returns true if the emulation thread was initialized successfully.
- *
- * This function can be called from either the main or the emulation thread.
- */
-bool retro_is_emu_thread_initialized(void);
-
-/* Join the emulation thread. The thread must have exited naturally or been canceled.
- *
- * Only call this function from the main thread.
- */
-void retro_join_emu_thread(void);
-
-/* Cancel the emulation thread.
- *
- * Only call this function from the main thread.
- */
-void retro_cancel_emu_thread(void);
-
-/* Returns true if the emulation thread has exited naturally.
- *
- * This function can be called from either the main or the emulation thread.
- */
-bool retro_emu_thread_exited(void);
-
-#endif