• Kirill Smelkov's avatar
    libgolang: Introduce runtimes · ad00be70
    Kirill Smelkov authored
    Libgolang will be generic library and it will adapt itself to particular
    execution environment by way of runtime plugin. This commit introduces
    stubs for two such runtimes - "thread" and "gevent" - and initializes
    libgolang with particular runtime depending on whether golang is
    imported with gevent preactivated or not.
    
    The runtimes themselves are empty at this step. We'll be adding runtime
    functionality in the following patches.
    ad00be70
_runtime_gevent.pyx 1.37 KB