CAIDA / pybgpstream

Python bindings for BGPStream
https://bgpstream.caida.org
BSD 2-Clause "Simplified" License
28 stars 22 forks source link

Release GIL for calls to bgpstream_get_next_record #45

Closed alistairking closed 3 years ago

alistairking commented 3 years ago

This function can and does block for a very long time when in live mode, so we want to give other threads an opportunity to run during this. Also releases the GIL when calling bgpstream_start in case it takes a while to start the DI.