[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] 42/45: handles, not handlers
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] 42/45: handles, not handlers |
Date: |
Sun, 31 Dec 2017 00:37:29 +0100 |
This is an automated email from the git hooks/post-receive script.
lurchi pushed a commit to branch master
in repository gnunet.
commit 0cdad12df4123d4b30603d552f1e3c1effab5015
Author: lurchi <address@hidden>
AuthorDate: Mon Sep 4 12:40:53 2017 +0200
handles, not handlers
---
src/util/scheduler.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/util/scheduler.c b/src/util/scheduler.c
index a2eaab9aa..72f2b7230 100644
--- a/src/util/scheduler.c
+++ b/src/util/scheduler.c
@@ -147,11 +147,11 @@ struct GNUNET_SCHEDULER_Task
unsigned int ready_fds_len;
/**
- * Do we own the network and file handlers referenced by the FdInfo
+ * Do we own the network and file handles referenced by the FdInfo
* structs in the fds array. This will only be GNUNET_YES if the
* task was created by the #GNUNET_SCHEDULER_add_select function.
*/
- int own_handlers;
+ int own_handles;
/**
* Absolute timeout value for the task, or
@@ -539,7 +539,7 @@ destroy_task (struct GNUNET_SCHEDULER_Task *t)
"destroying task %p\n",
t);
- if (GNUNET_YES == t->own_handlers)
+ if (GNUNET_YES == t->own_handles)
{
for (i = 0; i != t->fds_len; ++i)
{
@@ -1762,7 +1762,7 @@ GNUNET_SCHEDULER_add_select (enum
GNUNET_SCHEDULER_Priority prio,
t->callback_cls = task_cls;
t->read_fd = -1;
t->write_fd = -1;
- t->own_handlers = GNUNET_YES;
+ t->own_handles = GNUNET_YES;
read_nhandles = NULL;
write_nhandles = NULL;
read_fhandles = NULL;
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnunet] 33/45: GNUNET_SCHEDULER_check_lifeness not needed anymore, (continued)
- [GNUnet-SVN] [gnunet] 33/45: GNUNET_SCHEDULER_check_lifeness not needed anymore, gnunet, 2017/12/30
- [GNUnet-SVN] [gnunet] 23/45: set fds_len in all cases; call set_wakeup only in two places, gnunet, 2017/12/30
- [GNUnet-SVN] [gnunet] 21/45: set fds_len in all cases; call set_wakeup only in two places, gnunet, 2017/12/30
- [GNUnet-SVN] [gnunet] 38/45: clarify documentation about adding / deleting tasks, gnunet, 2017/12/30
- [GNUnet-SVN] [gnunet] 12/45: separate the select driver's fd sets from the driver-internal fdsets, gnunet, 2017/12/30
- [GNUnet-SVN] [gnunet] 40/45: Remove busy waiting checks, gnunet, 2017/12/30
- [GNUnet-SVN] [gnunet] 29/45: implement bookkeeping about which FDs related to a tasks have been marked ready (required API change in GNUNET_SCHEDULER_task_ready), gnunet, 2017/12/30
- [GNUnet-SVN] [gnunet] 45/45: merge branch 'refactoring-scheduler', gnunet, 2017/12/30
- [GNUnet-SVN] [gnunet] 26/45: reimplement init_fd_info as preparation for refactoring GNUNET_SCHEDULER_add_select, gnunet, 2017/12/30
- [GNUnet-SVN] [gnunet] 24/45: init_fd_info now completely initializes fd information; Allow calling add/cancel functions only when the scheduler is running, gnunet, 2017/12/30
- [GNUnet-SVN] [gnunet] 42/45: handles, not handlers,
gnunet <=
- [GNUnet-SVN] [gnunet] 30/45: only allocate network / file handles and store them in the task when GNUNET_SCHEDULER_add_select is used, gnunet, 2017/12/30
- [GNUnet-SVN] [gnunet] 43/45: Fix select loop running conditions, gnunet, 2017/12/30
- [GNUnet-SVN] [gnunet] 41/45: remove scheduler->internal code from driver loop, gnunet, 2017/12/30
- [GNUnet-SVN] [gnunet] 32/45: tasks in the pending queue must be be checked for reached timeouts, too; allow multiple event types per FdInfo, gnunet, 2017/12/30
- [GNUnet-SVN] [gnunet] 37/45: Simplify driver callback del; fix shutdown logic, gnunet, 2017/12/30
- [GNUnet-SVN] [gnunet] 44/45: cleanup, gnunet, 2017/12/30
- [GNUnet-SVN] [gnunet] 27/45: add buggy state of refactored GNUNET_SCHEDULER_add_select, gnunet, 2017/12/30