Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | remove duplicate timeout check | lurchi | 2018-01-16 | |
| | | | | | There's no need of checking for timeouts in GNUNET_SCHEDULER_task_ready, as the check is done in GNUNET_SCHEDULER_run_from_driver. | |||
* | remove unused variables | lurchi | 2018-01-15 | |
| | ||||
* | gracefully accept empty FD set that claim to contain FDs | lurchi | 2018-01-10 | |
| | ||||
* | properly detect calling add_select without descriptors; simplify extract_handles | lurchi | 2018-01-10 | |
| | ||||
* | fix scheduler when add_select is called with 0 ready fds | Schanzenbach, Martin | 2018-01-10 | |
| | ||||
* | fix dereferencing uninitialized rs/ws; assert non-NULL before dereferencing ↵ | lurchi | 2018-01-07 | |
| | | | | network/file handles | |||
* | Revert "fix dereferencing uninitialized pointer" | lurchi | 2018-01-07 | |
| | | | | This reverts commit 201a67be13ae31b4eb7fb8ad38b349fe287c0baf. | |||
* | fix dereferencing uninitialized pointer | lurchi | 2018-01-06 | |
| | ||||
* | simplify driver_add_multiple | lurchi | 2018-01-04 | |
| | ||||
* | fix misc compiler warnings | Christian Grothoff | 2018-01-04 | |
| | ||||
* | fix more warnings | Christian Grothoff | 2018-01-04 | |
| | ||||
* | Fix memory leak in select_loop | David Barksdale | 2018-01-01 | |
| | ||||
* | 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. | |||
* | 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 | |||
* | 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 | |
| | ||||
* | GNUNET_SCHEDULER_run is calling GNUNET_SCHEDULER_run_with_driver with the ↵ | t3sserakt | 2017-08-04 | |
| | | | | default select polling backend. | |||
* | Call to set_wakeup added after tasks added/removed to/from pending_timeout | t3sserakt | 2017-08-03 | |
| | ||||
* | Nearly finished. Call to set_wakeup missing in case of tasks added to ↵ | t3sserakt | 2017-08-02 | |
| | | | | pending_timeout |