aboutsummaryrefslogtreecommitdiffstats
path: root/src/select.c
AgeCommit message (Collapse)AuthorFilesLines
2009-06-10move openbsc into its own subdirectoryHarald Welte1-107/+0
2009-05-23An application that has own events and file descriptors, must pollHarald Welte1-8/+12
select function ob libbsc. A "polling" flag is used to enable polling. In this case select() will not sleep until file descriptor events occurr or nearest timer expires. Also a return value will indicate if there was an event that has been handled. If there was an event, the application decides to poll again and don't wait. In case for bsc_hack, the polling flag is not set. select will sleep as usual. (Andreas Eversberg)
2009-05-23* rename the timer functions to avoid name collisions with libmisdn.Harald Welte1-3/+3
* the return value of bsc_update_timers() is required for applications to find out if a timer was fired (Andreas Eversberg)
2009-02-03cosmetic fixesHarald Welte1-10/+10
2009-01-02Use the _safe variant as a bsc_unregister_fd might be called from within the ↵Holger Freyther1-2/+2
callback
2008-12-27Introduce a simple timer API....Holger Freyther1-14/+20
One can use add_timer or schedule_timer to add a timer. After the timeout time has been reached the callback will be called. One can call add_time/schedule_timer and del_timer from within the callback.
2008-12-25no reasonable commit message possible. tons of changes of the last 2 daysHarald Welte1-2/+2
2008-12-23initial commit of current OpenBSC stateHarald Welte1-0/+97