]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/Python-2.7.2/Python/thread_foobar.h
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.2 / Python / thread_foobar.h
diff --git a/AppPkg/Applications/Python/Python-2.7.2/Python/thread_foobar.h b/AppPkg/Applications/Python/Python-2.7.2/Python/thread_foobar.h
deleted file mode 100644 (file)
index 600ac31..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-\r
-/*\r
- * Initialization.\r
- */\r
-static void\r
-PyThread__init_thread(void)\r
-{\r
-}\r
-\r
-/*\r
- * Thread support.\r
- */\r
-long\r
-PyThread_start_new_thread(void (*func)(void *), void *arg)\r
-{\r
-    int success = 0;            /* init not needed when SOLARIS_THREADS and */\r
-                /* C_THREADS implemented properly */\r
-\r
-    dprintf(("PyThread_start_new_thread called\n"));\r
-    if (!initialized)\r
-        PyThread_init_thread();\r
-    return success < 0 ? -1 : 0;\r
-}\r
-\r
-long\r
-PyThread_get_thread_ident(void)\r
-{\r
-    if (!initialized)\r
-        PyThread_init_thread();\r
-}\r
-\r
-void\r
-PyThread_exit_thread(void)\r
-{\r
-    dprintf(("PyThread_exit_thread called\n"));\r
-    if (!initialized)\r
-        exit(0);\r
-}\r
-\r
-/*\r
- * Lock support.\r
- */\r
-PyThread_type_lock\r
-PyThread_allocate_lock(void)\r
-{\r
-\r
-    dprintf(("PyThread_allocate_lock called\n"));\r
-    if (!initialized)\r
-        PyThread_init_thread();\r
-\r
-    dprintf(("PyThread_allocate_lock() -> %p\n", lock));\r
-    return (PyThread_type_lock) lock;\r
-}\r
-\r
-void\r
-PyThread_free_lock(PyThread_type_lock lock)\r
-{\r
-    dprintf(("PyThread_free_lock(%p) called\n", lock));\r
-}\r
-\r
-int\r
-PyThread_acquire_lock(PyThread_type_lock lock, int waitflag)\r
-{\r
-    int success;\r
-\r
-    dprintf(("PyThread_acquire_lock(%p, %d) called\n", lock, waitflag));\r
-    dprintf(("PyThread_acquire_lock(%p, %d) -> %d\n", lock, waitflag, success));\r
-    return success;\r
-}\r
-\r
-void\r
-PyThread_release_lock(PyThread_type_lock lock)\r
-{\r
-    dprintf(("PyThread_release_lock(%p) called\n", lock));\r
-}\r