[pypy-commit] pypy kill-exported-symbols-list: Fix
arigo
noreply at buildbot.pypy.org
Thu Oct 23 15:39:06 CEST 2014
Author: Armin Rigo <arigo at tunes.org>
Branch: kill-exported-symbols-list
Changeset: r74122:518641f51951
Date: 2014-10-23 15:38 +0200
http://bitbucket.org/pypy/pypy/changeset/518641f51951/
Log: Fix
diff --git a/rpython/rlib/rthread.py b/rpython/rlib/rthread.py
--- a/rpython/rlib/rthread.py
+++ b/rpython/rlib/rthread.py
@@ -18,12 +18,6 @@
includes = ['src/thread.h'],
separate_module_files = [translator_c_dir / 'src' / 'thread.c'],
include_dirs = [translator_c_dir],
- #export_symbols = ['RPyThreadGetIdent', 'RPyThreadLockInit',
- # 'RPyThreadAcquireLock', 'RPyThreadAcquireLockTimed',
- # 'RPyThreadReleaseLock',
- # 'RPyThreadGetStackSize', 'RPyThreadSetStackSize',
- # 'RPyOpaqueDealloc_ThreadLock',
- # 'RPyThreadAfterFork']
)
def llexternal(name, args, result, **kwds):
diff --git a/rpython/translator/c/src/thread_gil.c b/rpython/translator/c/src/thread_gil.c
--- a/rpython/translator/c/src/thread_gil.c
+++ b/rpython/translator/c/src/thread_gil.c
@@ -162,6 +162,7 @@
*/
#undef RPyGilRelease
+RPY_EXPORTED_FOR_TESTS
void RPyGilRelease(void)
{
/* Releases the GIL in order to do an external function call.
@@ -172,6 +173,7 @@
}
#undef RPyFetchFastGil
+RPY_EXPORTED_FOR_TESTS
long *RPyFetchFastGil(void)
{
return _RPyFetchFastGil();
More information about the pypy-commit
mailing list