aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Fix double-scheduling of shutdown taskDavid Barksdale2018-01-02
|
* fix more 'make dist' issuesChristian Grothoff2018-01-02
|
* fix misc make dist issuesChristian Grothoff2018-01-02
|
* Fix memory leak in select_loopDavid Barksdale2018-01-01
|
* Fix broken buildDavid Barksdale2018-01-01
|
* Fix memory leaks in cadet testsDavid Barksdale2018-01-01
|
* fix issue with sending BROKEN timeouts early due to wrong timeout calculationChristian Grothoff2018-01-02
|
* fix GNUNET_TIME_year_to_time, do not start in February...Christian Grothoff2018-01-01
|
* update .gitignoreChristian Grothoff2018-01-01
|
* remove speed bumpsChristian Grothoff2018-01-01
|
* merge branch 'refactoring-scheduler'lurchi2017-12-30
|\
| * cleanuplurchi2017-09-04
| |
| * Fix select loop running conditionslurchi2017-09-04
| | | | | | | | | | | | | | The select loop has to keep running as long as the driver has tasks available (indicating that there are file descriptors left to wait for) or the timeout is not FOREVER (indicating that the scheduler has tasks with timeout left).
| * handles, not handlerslurchi2017-09-04
| |
| * remove scheduler->internal code from driver looplurchi2017-09-04
| |
| * Remove busy waiting checkslurchi2017-09-04
| | | | | | | | | | | | | | | | | | | | | | Busy waiting should never happen (at least the shutdown pipe is always there for the driver to wait for). When busy waiting happens, i.e. GNUNET_SCHEDULER_run_from_driver is called without any task ready, it is a programming error (at least I don't know any valid use case for busy waiting). Hence, remove the busy waiting checks and let GNUNET_SCHEDULER_run_from_driver return GNUNET_SYSERR instead in this case.
| * Don't consider restart when the test action already finishedlurchi2017-09-04
| | | | | | | | | | | | | | | | | | | | | | | | In the old scheduler implementation tasks with different priorities were run in the same event loop iteration, in the new implementation this cannot be guaranteed anymore, as it's driver-dependent. For the FS tests this means that when adding both an 'abort' task and a 'restart' task (the latter with higher priority) the 'restart' task didn't take effect with the old implementation but does with the new implementation (and leads to an assertion failure). Not scheduling the 'restart' task when the action (download/publish) has already finished successfully solves this issue.
| * clarify documentation about adding / deleting taskslurchi2017-08-25
| |
| * Simplify driver callback del; fix shutdown logiclurchi2017-08-25
| | | | | | | | | | | | | | | | | | The driver callback for deleting a task has been simplified: Now it is only possible to delete a task, not single FdInfos. A logic bug in GNUNET_SCHEDULER_cancel has been fixed (FD-related tasks need to be deleted from the driver, when they are already in the ready queue).
| * fix behaviour of GNUNET_SCHEDULER_add_select on empty fdsetslurchi2017-08-24
| | | | | | | | | | | | if GNUNET_SCHEDULER_add_select is called with empty fdsets, the resulting task is now added to the pending_timeout queue instead of the pending queue. This way the driver will not know about the task.
| * NULL-initialize array pointerslurchi2017-08-24
| |
| * cleanuplurchi2017-08-23
| |
| * GNUNET_SCHEDULER_check_lifeness not needed anymorelurchi2017-08-23
| |
| * tasks in the pending queue must be be checked for reached timeouts, too; ↵lurchi2017-08-23
| | | | | | | | allow multiple event types per FdInfo
| * improve documentation about the GNUNET_array_append and GNUNET_array_grow macroslurchi2017-08-21
| |
| * only allocate network / file handles and store them in the task when ↵lurchi2017-08-21
| | | | | | | | GNUNET_SCHEDULER_add_select is used
| * implement bookkeeping about which FDs related to a tasks have been marked ↵lurchi2017-08-18
| | | | | | | | ready (required API change in GNUNET_SCHEDULER_task_ready)
| * increasing length variable is already done by GNUNET_xgrow_ (called by the ↵lurchi2017-08-17
| | | | | | | | GNUNET_array_append macro)
| * add buggy state of refactored GNUNET_SCHEDULER_add_selectlurchi2017-08-16
| |
| * reimplement init_fd_info as preparation for refactoring ↵lurchi2017-08-13
| | | | | | | | GNUNET_SCHEDULER_add_select
| * fix off-by-one error that prevented reading from stdinlurchi2017-08-12
| |
| * init_fd_info now completely initializes fd information; Allow calling ↵lurchi2017-08-12
| | | | | | | | add/cancel functions only when the scheduler is running
| * set fds_len in all cases; call set_wakeup only in two placeslurchi2017-08-11
| |
| * Revert "set fds_len in all cases; call set_wakeup only in two places"lurchi2017-08-11
| | | | | | | | This reverts commit 7d42c453fbb032ac8fb43c8e56bb84354ecedf2d.
| * set fds_len in all cases; call set_wakeup only in two placeslurchi2017-08-11
| |
| * remove unnecessary set_wakup calllurchi2017-08-10
| |
| * fix compilation of debug code enabled by DEBUG_FDS; fix indentationlurchi2017-08-10
| |
| * cosmetic fixeslurchi2017-08-09
| |
| * test_scheduler passing; new API function GNUNET_SCHEDULER_check_lifenesslurchi2017-08-09
| |
| * lifeness checks; shutdown now working; checkSignal not passing yetlurchi2017-08-09
| |
| * fix initFdInfo; rename to init_fd_infolurchi2017-08-09
| |
| * fix indentation; remove unneeded set_wakeup calllurchi2017-08-09
| |
| * Merge branch 'refactoring-scheduler' of ssh://gnunet.org/gnunetlurchi2017-08-08
| |\
| | * Smaller changes. Changed order when set_wakeup is called after some task is ↵t3sserakt2017-08-08
| | | | | | | | | | | | removed from pending_timeout
| * | separate the select driver's fd sets from the driver-internal fdsetslurchi2017-08-08
| |/
| * fix segfault and pending_timeout logiclurchi2017-08-05
| |
| * add missing DLL insertlurchi2017-08-05
| |
| * fix warningslurchi2017-08-05
| |
| * make input of getters const (needed for new scheduler API)lurchi2017-08-05
| |
| * GNUNET_SCHEDULER_run is calling GNUNET_SCHEDULER_run_with_driver with the ↵t3sserakt2017-08-04
| | | | | | | | default select polling backend.