summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ucode/types.h18
1 files changed, 13 insertions, 5 deletions
diff --git a/include/ucode/types.h b/include/ucode/types.h
index 9cd7cfc..85c3eb8 100644
--- a/include/ucode/types.h
+++ b/include/ucode/types.h
@@ -206,11 +206,6 @@ typedef struct {
uc_declare_vector(uc_resource_types_t, uc_resource_type_t *);
-
-/* Object iteration */
-
-extern uc_list_t uc_object_iterators;
-
typedef struct {
uc_list_t list;
struct lh_table *table;
@@ -270,6 +265,19 @@ uc_search_path_free(uc_search_path_t *search_path) {
}
+/* TLS data */
+
+typedef struct {
+ /* VM owning installed signal handlers */
+ uc_vm_t *signal_handler_vm;
+
+ /* Object iteration */
+ uc_list_t object_iterators;
+} uc_thread_context_t;
+
+__hidden uc_thread_context_t *uc_thread_context_get(void);
+
+
/* VM definitions */
typedef enum {