Introduce interruptor tool

An interruptor instance will help to wake up a blocking call from
another thread (typically to terminate immediately on Ctrl+C).
This commit is contained in:
Romain Vimont
2021-11-12 18:50:50 +01:00
parent 0426708544
commit e0896142db
3 changed files with 162 additions and 0 deletions

View File

@@ -25,6 +25,7 @@ src = [
'src/stream.c',
'src/video_buffer.c',
'src/util/file.c',
'src/util/intr.c',
'src/util/log.c',
'src/util/net.c',
'src/util/process.c',