summaryrefslogtreecommitdiffstats
path: root/src/poll.c
AgeCommit message (Collapse)Author
2016-03-26poll: fix epoll supportMatthias Schiffer
2016-02-22Update copyright yearsMatthias Schiffer
2016-02-22socket: improve and simplify error handlingMatthias Schiffer
Rather exit on errors we're unlikely to recover from than retrying indefinitely.
2016-02-22types: replace static consts with definesMatthias Schiffer
2016-02-22Handle optional features (capabilities, status socket) more consistentlyMatthias Schiffer
2015-11-18Clean up peer task handlingMatthias Schiffer
2015-11-10Implement generic task queue to handle handshakes and maintenanceMatthias Schiffer
2015-11-10Use heap-based priority queue to schedule handshakes instead of a linked listMatthias Schiffer
2015-03-22Rename tuntap to iface to match struct nameMatthias Schiffer
2015-03-22First work towards multi-interface supportMatthias Schiffer
2015-03-22Refactor poll APIMatthias Schiffer
2015-01-14Update copyright yearsMatthias Schiffer
2015-01-14Add Android 4.1+ support. See doc/README-Android.md for build HOWTO.Rick Lei
* Update CMake files to work with android-cmake * Use unix domain socket for communicating with Android GUI * May also run standalone but requires rooted Android device
2015-01-10poll: more include cleanupMatthias Schiffer
2015-01-10poll:remove sys/signal.h includeMatthias Schiffer
This had been added accidentially.
2015-01-09poll: define SYS_epoll_pwait if it isn't availableMatthias Schiffer
2015-01-09poll: directly call epoll_pwait syscall instead of using the libc wrapperMatthias Schiffer
There are systems without the wrapper (e.g. older Android versions), and the wrapper is broken in some versions of uClibc.
2014-09-15Don't try to poll on invalid status socket FDMatthias Schiffer
2014-09-06Move UNUSED attribute to the start of arguments to help editors understand ↵Matthias Schiffer
the syntax
2014-09-06Fix poll initialization on systems without epollMatthias Schiffer
2014-09-05Add status socket to get the current status as JSONMatthias Schiffer
2014-08-24Use simple int64_t timestamps in ms instead of timespecsMatthias Schiffer
2014-08-22Remove VECTOR_ALLOCMatthias Schiffer
It is done automatically now if the VECTOR is zeroed before.
2014-08-02Add support for Mac OS XMatthias Schiffer
2014-06-03Create threads in detached stateMatthias Schiffer
2014-05-31Fix poll race condition on *BSDMatthias Schiffer
2014-05-31More signal handling fixesMatthias Schiffer
2014-05-31Unblock signals only during poll/epoll waitMatthias Schiffer
If signals are normally blocked, we can avoid a lot of EINTR handling.
2014-05-28Still more documentationMatthias Schiffer
2014-05-27More documentationMatthias Schiffer
2014-05-27poll: document the poll APIMatthias Schiffer
2014-05-27Move tuntap handling out of poll.cMatthias Schiffer
2014-05-27More documentationMatthias Schiffer
2014-04-30Remove now unneeded FD_CLOEXEC flag configMatthias Schiffer
2014-04-25epoll: update time *after* waiting...Matthias Schiffer
2014-04-21poll: add pollfd count assertMatthias Schiffer
2014-04-20Make ctx globalMatthias Schiffer
2014-04-20Make conf globalMatthias Schiffer
2014-04-20Linux: use epoll to handle great numbers of peers with less overheadMatthias Schiffer
2014-04-20Minimize poll interface to simplify implementation of alternative ↵Matthias Schiffer
implementations
2014-04-19Keep a vector of pollfds instead of regenerating it all the timeMatthias Schiffer