Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Fix double-scheduling of shutdown task | David Barksdale | 2018-01-02 |
| | |||
* | fix more 'make dist' issues | Christian Grothoff | 2018-01-02 |
| | |||
* | fix misc make dist issues | Christian Grothoff | 2018-01-02 |
| | |||
* | Fix memory leak in select_loop | David Barksdale | 2018-01-01 |
| | |||
* | Fix broken build | David Barksdale | 2018-01-01 |
| | |||
* | Fix memory leaks in cadet tests | David Barksdale | 2018-01-01 |
| | |||
* | fix issue with sending BROKEN timeouts early due to wrong timeout calculation | Christian Grothoff | 2018-01-02 |
| | |||
* | fix GNUNET_TIME_year_to_time, do not start in February... | Christian Grothoff | 2018-01-01 |
| | |||
* | update .gitignore | Christian Grothoff | 2018-01-01 |
| | |||
* | remove speed bumps | Christian Grothoff | 2018-01-01 |
| | |||
* | merge branch 'refactoring-scheduler' | lurchi | 2017-12-30 |
|\ | |||
| * | cleanup | lurchi | 2017-09-04 |
| | | |||
| * | Fix select loop running conditions | lurchi | 2017-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 handlers | lurchi | 2017-09-04 |
| | | |||
| * | remove scheduler->internal code from driver loop | lurchi | 2017-09-04 |
| | | |||
| * | Remove busy waiting checks | lurchi | 2017-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 finished | lurchi | 2017-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 tasks | lurchi | 2017-08-25 |
| | | |||
| * | Simplify driver callback del; fix shutdown logic | lurchi | 2017-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 fdsets | lurchi | 2017-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 pointers | lurchi | 2017-08-24 |
| | | |||
| * | cleanup | lurchi | 2017-08-23 |
| | | |||
| * | GNUNET_SCHEDULER_check_lifeness not needed anymore | lurchi | 2017-08-23 |
| | | |||
| * | tasks in the pending queue must be be checked for reached timeouts, too; ↵ | lurchi | 2017-08-23 |
| | | | | | | | | allow multiple event types per FdInfo | ||
| * | improve documentation about the GNUNET_array_append and GNUNET_array_grow macros | lurchi | 2017-08-21 |
| | | |||
| * | only allocate network / file handles and store them in the task when ↵ | lurchi | 2017-08-21 |
| | | | | | | | | GNUNET_SCHEDULER_add_select is used | ||
| * | implement bookkeeping about which FDs related to a tasks have been marked ↵ | lurchi | 2017-08-18 |
| | | | | | | | | ready (required API change in GNUNET_SCHEDULER_task_ready) | ||
| * | increasing length variable is already done by GNUNET_xgrow_ (called by the ↵ | lurchi | 2017-08-17 |
| | | | | | | | | GNUNET_array_append macro) | ||
| * | add buggy state of refactored GNUNET_SCHEDULER_add_select | lurchi | 2017-08-16 |
| | | |||
| * | reimplement init_fd_info as preparation for refactoring ↵ | lurchi | 2017-08-13 |
| | | | | | | | | GNUNET_SCHEDULER_add_select | ||
| * | fix off-by-one error that prevented reading from stdin | lurchi | 2017-08-12 |
| | | |||
| * | init_fd_info now completely initializes fd information; Allow calling ↵ | lurchi | 2017-08-12 |
| | | | | | | | | add/cancel functions only when the scheduler is running | ||
| * | set fds_len in all cases; call set_wakeup only in two places | lurchi | 2017-08-11 |
| | | |||
| * | Revert "set fds_len in all cases; call set_wakeup only in two places" | lurchi | 2017-08-11 |
| | | | | | | | | This reverts commit 7d42c453fbb032ac8fb43c8e56bb84354ecedf2d. | ||
| * | set fds_len in all cases; call set_wakeup only in two places | lurchi | 2017-08-11 |
| | | |||
| * | remove unnecessary set_wakup call | lurchi | 2017-08-10 |
| | | |||
| * | fix compilation of debug code enabled by DEBUG_FDS; fix indentation | lurchi | 2017-08-10 |
| | | |||
| * | cosmetic fixes | lurchi | 2017-08-09 |
| | | |||
| * | test_scheduler passing; new API function GNUNET_SCHEDULER_check_lifeness | lurchi | 2017-08-09 |
| | | |||
| * | lifeness checks; shutdown now working; checkSignal not passing yet | lurchi | 2017-08-09 |
| | | |||
| * | fix initFdInfo; rename to init_fd_info | lurchi | 2017-08-09 |
| | | |||
| * | fix indentation; remove unneeded set_wakeup call | lurchi | 2017-08-09 |
| | | |||
| * | Merge branch 'refactoring-scheduler' of ssh://gnunet.org/gnunet | lurchi | 2017-08-08 |
| |\ | |||
| | * | Smaller changes. Changed order when set_wakeup is called after some task is ↵ | t3sserakt | 2017-08-08 |
| | | | | | | | | | | | | removed from pending_timeout | ||
| * | | separate the select driver's fd sets from the driver-internal fdsets | lurchi | 2017-08-08 |
| |/ | |||
| * | fix segfault and pending_timeout logic | lurchi | 2017-08-05 |
| | | |||
| * | add missing DLL insert | lurchi | 2017-08-05 |
| | | |||
| * | fix warnings | lurchi | 2017-08-05 |
| | | |||
| * | make input of getters const (needed for new scheduler API) | lurchi | 2017-08-05 |
| | | |||
| * | GNUNET_SCHEDULER_run is calling GNUNET_SCHEDULER_run_with_driver with the ↵ | t3sserakt | 2017-08-04 |
| | | | | | | | | default select polling backend. |