• Kirill Smelkov's avatar
    pyx api: Provide sleep · ce8152a2
    Kirill Smelkov authored
    - Add sleep functionality to libgolang runtime;
    - Implement sleep for thread and gevent runtimes. Thread runtime
      implements sleep independently of GIL, but only for POSIX for now;
    - Switch golang.time py module into using golang.time pyx module.
    
    As we are adding sleep, related functionality to query system about
    "what is current time?" is also added.
    ce8152a2
time.pxd 1.11 KB