Author: Amaury Forgeot d'Arc <[email protected]>
Branch: 
Changeset: r52658:a8321d3e8e9c
Date: 2012-02-19 21:21 +0100
http://bitbucket.org/pypy/pypy/changeset/a8321d3e8e9c/

Log:    Another cpyext stub: PyThread_start_new_thread

diff --git a/pypy/module/cpyext/stubsactive.py 
b/pypy/module/cpyext/stubsactive.py
--- a/pypy/module/cpyext/stubsactive.py
+++ b/pypy/module/cpyext/stubsactive.py
@@ -62,3 +62,7 @@
     """
     return -1
 
+thread_func = lltype.Ptr(lltype.FuncType([rffi.VOIDP], lltype.Void))
+@cpython_api([thread_func, rffi.VOIDP], rffi.INT_real, error=-1)
+def PyThread_start_new_thread(space, func, arg):
+    return -1
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to