Skip to content
  • hofmockel's avatar
    Fix deadlock on shutdown by releasing the GIL during del · 43a69973
    hofmockel authored
    On delete rocksdb waits for the background thread to finish.
    However the background threads needs the GIL to execute python-code
    (for example comparator)
    =>
    * main thread has GIL
    * main thread waits for background thread
    * background thread tries to get GIL
    which means deadlock
    43a69973
Loading