Bastien Nocera
|
a54d020c97
|
lib: Make fp_get_pollfds() fail when fp_init() wasn't called
So things can't be called out-of-order.
|
2018-10-23 10:59:15 +02:00 |
|
Bastien Nocera
|
7cfe20e07f
|
lib: Fix gtk-doc warning
warning: no link for: "timeval" -> (<code class="literal">timeval</code>)
|
2018-09-27 16:08:21 +02:00 |
|
Bastien Nocera
|
ebd96f892e
|
lib: Make fpi_timeout_add() never fail
It will now assert if the monotonic clock isn't available. If that's the
case, we'll have bigger problems anyway.
|
2018-09-27 15:14:05 +02:00 |
|
Bastien Nocera
|
948a67a51f
|
lib: Add internal fpi_timeout_cancel_all_for_dev()
This will be used to disable all timeouts for a device that's about
to be closed, and freed.
|
2018-09-27 14:49:50 +02:00 |
|
Bastien Nocera
|
de79609550
|
lib: Use timeout name in debug messages when available
|
2018-09-27 14:49:41 +02:00 |
|
Bastien Nocera
|
d18e10535e
|
lib: Add a way to name timeouts
To make it easier to print debug information about where timeouts are
coming from.
|
2018-09-27 14:49:41 +02:00 |
|
Bastien Nocera
|
2954583373
|
lib: Fix memory leak in fpi_poll_exit()
The active_timers list was freed, but not the elements themselves.
|
2018-09-27 14:36:06 +02:00 |
|
Bastien Nocera
|
f68e7fcb9f
|
lib: Add fp_dev argument to timeout callback
To cut down on the fpi_ssm_get_user_data() usage again.
|
2018-09-18 20:00:59 +02:00 |
|
Bastien Nocera
|
2946dabd24
|
lib: Typedef fpi_timeout
|
2018-09-05 17:49:02 +02:00 |
|
Bastien Nocera
|
969eefc81f
|
lib: Add fpi_timeout API documentation
|
2018-09-05 17:48:43 +02:00 |
|
Bastien Nocera
|
efee7262b6
|
lib: Split off timeout helpers
And rename poll.c to fpi-poll.c
|
2018-09-05 17:15:20 +02:00 |
|