summaryrefslogtreecommitdiff
path: root/python/src/kbest.pxd
diff options
context:
space:
mode:
authorVictor Chahuneau <vchahune@cs.cmu.edu>2012-08-08 18:56:02 -0400
committerVictor Chahuneau <vchahune@cs.cmu.edu>2012-08-08 18:56:02 -0400
commiteae5efbf112a8697309fe7c1e385a8609124520e (patch)
treefb11f063c4a205f9ec41f400e8bd21d644c11fdf /python/src/kbest.pxd
parent89df59e9ad1260b6ff36e4aa0e730ad84faec211 (diff)
[python] Get rid of the GIL
Diffstat (limited to 'python/src/kbest.pxd')
-rw-r--r--python/src/kbest.pxd4
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