introduce ifc with FIFOs

This commit is contained in:
Stefan Allius
2024-09-22 10:28:36 +02:00
parent 39540678fb
commit f216c2434e
3 changed files with 107 additions and 0 deletions

11
app/src/async_ifc.py Normal file
View File

@@ -0,0 +1,11 @@
if __name__ == "app.src.async_ifc":
from app.src.byte_fifo import ByteFifo
else: # pragma: no cover
from byte_fifo import ByteFifo
class AsyncIfc():
def __init__(self):
self.read = ByteFifo()
self.write = ByteFifo()
self.forward = ByteFifo()