Windows: Use 32-bit distribution of python
This commit is contained in:
17
python/gevent/__hub_local.pxd
Normal file
17
python/gevent/__hub_local.pxd
Normal file
@@ -0,0 +1,17 @@
|
||||
from gevent.__greenlet_primitives cimport SwitchOutGreenletWithLoop
|
||||
|
||||
cdef _threadlocal
|
||||
|
||||
cpdef get_hub_class()
|
||||
cpdef SwitchOutGreenletWithLoop get_hub_if_exists()
|
||||
cpdef set_hub(SwitchOutGreenletWithLoop hub)
|
||||
cpdef get_loop()
|
||||
cpdef set_loop(loop)
|
||||
|
||||
# We can't cdef this, it won't do varargs.
|
||||
# cpdef WaitOperationsGreenlet get_hub(*args, **kwargs)
|
||||
|
||||
# XXX: TODO: Move the definition of TrackedRawGreenlet
|
||||
# into a file that can be cython compiled so get_hub can
|
||||
# return that.
|
||||
cpdef SwitchOutGreenletWithLoop get_hub_noargs()
|
||||
Reference in New Issue
Block a user