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 | eae5efbf112a8697309fe7c1e385a8609124520e (patch) | |
| tree | fb11f063c4a205f9ec41f400e8bd21d644c11fdf /python/src/kbest.pxd | |
| parent | 89df59e9ad1260b6ff36e4aa0e730ad84faec211 (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 | 
