rawmidi: Use a background thread rather than a subprocess

This removes the last usage of fork() in xystem35.
This commit is contained in:
kichikuou
2021-11-13 12:51:14 +09:00
parent d0ad06e7c5
commit d8513d78e4
5 changed files with 192 additions and 296 deletions
+1
View File
@@ -40,5 +40,6 @@ struct msgq *msgq_new(void);
void msgq_free(struct msgq *q);
void msgq_enqueue(struct msgq *q, void *msg);
void *msgq_dequeue(struct msgq *q);
void *msgq_dequeue_timeout(struct msgq *q, uint32_t timeout_ms);
#endif // __MSGQUEUE_H__