#!/usr/bin/env python3

from sl.socket_buffer_queue import Socket_Buffer_Queue
import os
import signal
import multiprocessing as mp


def signal_handler(sig, frame):
  # On <CTRL> + C, kill all threads instead of one thread
  print('\nExiting...')
  os._exit(0)

signal.signal(signal.SIGINT, signal_handler)

if __name__ == "__main__":
  print('Started.')
  socket_buffer_queue = Socket_Buffer_Queue()
