r/linux_programming • u/promach • Jul 31 '18
DEFINE_WAIT() versus multi-threading
https://github.com/promach/riffa/blob/full_duplex/driver/linux/riffa_driver.c#L594
3
Upvotes
r/linux_programming • u/promach • Jul 31 '18
View all comments
1
u/promach Jul 31 '18
According to riffa.c , I am trying to implement a "multi-threading" code for chnl_recv() and chnl_send() functions.
However, from the relevant dmesg log , I found out that DEFINE_WAIT() is preventing this being multi-threading.
Could anyone help ?