gevent


Some confusion about gevent (cffi) setup


In Gevent 1.1, there are two backends, cython and cffi. What I confuse is _corecffi_build.py.
In line 331,
ffi.set_source('gevent._corecffi', _source, include_dirs=include_dirs)
I do not know why ffi.set_source does not specify sources to include related c files. And _source only contains some declarations.
How the c source files are included?
The "c source files" are included in a libev-specific way. In the _source string we #define LIBEV_EMBED before we #include "libev.h". Setting that macro causes libev.h itself to #include "ev.c", which is all the source libev needs.

Related Links

building gevent in raspberry pi qemu
Some confusion about gevent (cffi) setup
Do rdflib and gevent work nicely together?
Replace gevent.spawn_link_exception
thread exception occurred in gevent
Is join required on gevent gthreads?
ZeroRPC heartbeats and timeouts
NewRelic doesn't graph any data in a Python + Gevent based system
Is there any way to run gevent-socketio 0.3.5-rc2 with gunicorn 18.0 without downgrading
How can I test to see whether gevent monkey patching is active?
How does gevent interact with threading.local data?
werkzeug server failed to handle request
Running time puzzle about gevent
Why does this http streaming not work as expected?

Categories

HOME
reactjs
max
internet-explorer
indexing
virtual-machine
skypedeveloper
watson-iot
sms
opengl-es
richtextbox
atlassian-fisheye
promotions
segmentation-fault
google-my-business-api
jcodemodel
fastreport
eclipse-orion
exchange-transport-agents
k-means
simd
windows-phone
orange
civicrm
printf
webgl-earth
vala
onclicklistener
windowserror
aws-certificate-manager
sasl
continuous-fourier
angular2-changedetection
openoffice-impress
opencsv
urhosharp
geocomplete
lex
nscollectionview
sknode
php-mongodb
nshttpurlresponse
automapper-4
runner
stream-socket-client
px4
easy68k
class-design
foreground
jira-agile
rowname
scriptengine
chomsky-normal-form
containstable
dynamics-nav
matlab-engine
opendolphin
wiql
producer-consumer
exchange-server-2007
page-flipping
azure-mobile-app
polarion
clearquest
wingdb
douglas-peucker
api-eveonline
behance-api
telerik-appbuilder
episerver-7
android-relativelayout
smartxls
new-operator
object-oriented-database
infor-eam
maven-javadoc-plugin
ardor3d
infomaker
listpicker
panelgrid
mosix
teamsystem
motordriver
flatten
bindinglist
socketasynceventargs
animationdrawable
ruby-1.9
code-organization
capitalization
soapexception
designated-initializer
lwp
netbeans7.0
viewdata
xcdatamodel
nstoolbar
oaw
p4.net
morfik
projectgen
disk-based

Resources

Encrypt Message