about summary refs log tree commit diff stats
path: root/src/libtools/threads32.h
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-12-15 14:57:07 +0100
committerptitSeb <sebastien.chev@gmail.com>2024-12-15 14:57:07 +0100
commit1c72527dc816c1cd24fcff338b56c7617aa21c75 (patch)
treeb51f68473a2819f6e59aefa28004f7a1b720946c /src/libtools/threads32.h
parent5ce3e2991360771bf5ed9b2b8c7228c742e5134b (diff)
downloadbox64-1c72527dc816c1cd24fcff338b56c7617aa21c75.tar.gz
box64-1c72527dc816c1cd24fcff338b56c7617aa21c75.zip
[BOX32][WRAPPER] Some work on 32bits xcb_connection
Diffstat (limited to 'src/libtools/threads32.h')
-rw-r--r--src/libtools/threads32.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/libtools/threads32.h b/src/libtools/threads32.h
new file mode 100644
index 00000000..00a527d3
--- /dev/null
+++ b/src/libtools/threads32.h
@@ -0,0 +1,15 @@
+#ifndef __THREADS_32_H_
+#define __THREADS_32_H_
+#include "box32.h"
+
+typedef struct fake_pthread_mutext_s {
+	int __lock;
+	unsigned int __count;
+  	int __owner;
+	int i386__kind;
+	int __kind;
+	ptr_t real_mutex;
+} fake_phtread_mutex_t;
+#define KIND_SIGN	0xbad001
+
+#endif //__THREADS_32_H_
\ No newline at end of file