Files
amiwm-neo/libami
Adrian Chadd 4bd5a665db [libami] Add a 5 second read timeout so the periodic routine can be called
* add a basic select() loop for the read FD to see if it's ready
* optionally block in md_read() even if we timeout - this is used for
  the md_command() side of things
* md_handle_input() however doesn't block and will happily timeout
  so the loop can run and the periodic function can run.

This indeed seems to work.  It's a bit dirty, but it at least stops
the main loop from being fully blocking and that's super useful for
modules that wish to schedule background work.
2022-05-14 22:07:36 -07:00
..
2017-03-26 13:00:19 +02:00
2017-03-26 13:00:19 +02:00
2017-03-26 13:00:19 +02:00
2017-03-26 13:00:19 +02:00
2022-02-26 11:31:37 -08:00
2017-03-26 13:00:19 +02:00
2017-03-26 13:00:19 +02:00
2017-03-26 13:00:19 +02:00
2022-04-25 21:28:49 -07:00
2017-03-26 13:00:19 +02:00
2017-03-26 13:00:19 +02:00
2022-02-26 11:31:37 -08:00
2017-03-26 13:00:19 +02:00