TJREVERB / pfs

Flight software for TJREVERB's nanosat.
7 stars 5 forks source link

Enhancement #9: Implement Threading Locks #14

Closed abagali1 closed 5 years ago

abagali1 commented 5 years ago

Implement Threading Locks

9

Description

Added threading locks to radio_output.py so that two processes cannot access a radio at the same time.

Steps to Reproduce

  1. Spawn two threads that call radio_output.send(message: str)
  2. Start both threads
  3. The later thread should not be able to access radio_output.send(message: str) until the previous thread has died

Affected Areas