Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
31bf3b10
Commit
31bf3b10
authored
Mar 28, 2016
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
go back to threading cython step
parent
9e68101a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
6 deletions
+16
-6
gevent/callbacks.c
gevent/callbacks.c
+2
-1
greentest/testrunner.py
greentest/testrunner.py
+9
-0
util/cythonpp.py
util/cythonpp.py
+5
-5
No files found.
gevent/callbacks.c
View file @
31bf3b10
/* Copyright (c) 2011-2012 Denis Bilenko. See LICENSE for details. */
#ifdef Py_PYTHON_H
#if 0
#if 1
/* name generated by cython when we use threads */
#define _GEVENTLOOP struct __pyx_vtabstruct_8corecext_loop
#else
#define _GEVENTLOOP struct __pyx_vtabstruct_6gevent_8corecext_loop
...
...
greentest/testrunner.py
View file @
31bf3b10
...
...
@@ -20,6 +20,15 @@ if NWORKERS > 10:
NWORKERS
=
10
RUNNING_ON_TRAVIS
=
os
.
environ
.
get
(
'TRAVIS'
)
RUNNING_ON_APPVEYOR
=
os
.
environ
.
get
(
'APPVEYOR'
)
RUNNING_ON_CI
=
RUNNING_ON_TRAVIS
or
RUNNING_ON_APPVEYOR
if
RUNNING_ON_CI
:
# Too many and we get spurious timeouts
NWORKERS
=
6
# tests that don't do well when run on busy box
RUN_ALONE
=
[
'test__threadpool.py'
,
...
...
util/cythonpp.py
View file @
31bf3b10
...
...
@@ -88,10 +88,10 @@ def _run_cython_on_file(configuration, pyx_filename,
# XXX: Note that this causes cython to generate
# a "corecext" name instead of "gevent.corecext"
tempdir
=
tempfile
.
mkdtemp
()
unique_pyx_filename
=
pyx_filename
unique_output_filename
=
output_filename
#
unique_pyx_filename = os.path.join(tempdir, pyx_filename)
#
unique_output_filename = os.path.join(tempdir, output_filename)
#
unique_pyx_filename = pyx_filename
#
unique_output_filename = output_filename
unique_pyx_filename
=
os
.
path
.
join
(
tempdir
,
pyx_filename
)
unique_output_filename
=
os
.
path
.
join
(
tempdir
,
output_filename
)
dirname
=
os
.
path
.
dirname
(
unique_pyx_filename
)
# output must be in same dir
log
(
"Output filename %s"
,
unique_output_filename
)
...
...
@@ -124,7 +124,7 @@ def _run_cython_on_files(pyx_filename, py_banner, banner, output_filename, prepr
counter
,
lines
,
cache
)))
threads
[
-
1
].
start
()
threads
[
-
1
].
join
()
#
threads[-1].join()
for
t
in
threads
:
t
.
join
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment