1. Pypy
  2. Untitled project
  3. pypy

Commits

Amaury Forgeot d'Arc  committed a8321d3

Another cpyext stub: PyThread_start_new_thread

  • Participants
  • Parent commits fae75d8
  • Branches default

Comments (0)

Files changed (1)

File pypy/module/cpyext/stubsactive.py

View file
  • Ignore whitespace
     """
     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