diff options
author | Victor Chahuneau <vchahune@cs.cmu.edu> | 2012-08-08 18:56:02 -0400 |
---|---|---|
committer | Victor Chahuneau <vchahune@cs.cmu.edu> | 2012-08-08 18:56:02 -0400 |
commit | e0eabf1e59cbfa85b00efcff699cdcd6a524e9c5 (patch) | |
tree | e6d013ebdb0eafc8e1e380e84549460847d685ac /python/src/kbest.pxd | |
parent | cc5584e9b066e6d1177495f7028ff49ab057ed52 (diff) |
[python] Get rid of the GIL
Diffstat (limited to 'python/src/kbest.pxd')
-rw-r--r-- | python/src/kbest.pxd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/src/kbest.pxd b/python/src/kbest.pxd index cef42bd3..44ecfbab 100644 --- a/python/src/kbest.pxd +++ b/python/src/kbest.pxd @@ -16,5 +16,5 @@ cdef extern from "decoder/kbest.h" namespace "KBest": cdef cppclass KBestDerivations[T, Traversal]: cppclass Derivation: T _yield "yield" - KBestDerivations(Hypergraph& hg, unsigned k) - Derivation* LazyKthBest(unsigned v, unsigned k) + KBestDerivations(Hypergraph& hg, unsigned k) nogil + Derivation* LazyKthBest(unsigned v, unsigned k) nogil |