Commits
- Commit:
dc3e25b130aee2682cc370e9505fd7386cbe8b53
- From:
- Omar Polo <op@omarpolo.com>
- Date:
work around (a possibly missing) pipe2(2)
Mac OS X... sigh...
- Commit:
31e12e6728b328d0d6ae7401d7ca4200cbfd3700
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move timespecsub compat out of ev.c
- Commit:
969a02493ba6c440ba7700a2090b24cbc2bf5a38
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add portability shim for timespecsub
- Commit:
27bf07a4f9592ac26e235e10f3a6eb24101aaa80
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add missing #include <time.h>
- Commit:
0a53bd62d11ed31ce71da1fc9993bc25a6c93755
- From:
- Omar Polo <op@omarpolo.com>
- Date:
switch from libevent to a smaller, thin wrapper around poll()
libevent is a very cool library, I like its APIs and enjoy using
it. However, for amused it is maybe a bit too much since it doesn't
deal with too many file descriptors. Amused only needs to monitor
one fd for the player process and the currently connected clients.
Given that it runs per-user locally, having more than a dozen of
fds open is very, very rare.