introduce ifc with FIFOs
This commit is contained in:
11
app/src/async_ifc.py
Normal file
11
app/src/async_ifc.py
Normal 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()
|
||||
Reference in New Issue
Block a user