From f4476100f28880e7fad660fefed118ef2521633c Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sun, 22 Jan 2017 00:59:50 -0800 Subject: [PATCH] Remove comment about job_iterator_t being used from signal handlers It is no longer used from signal handlers, and has not been for a while --- src/proc.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/proc.h b/src/proc.h index 9d0508f1f..7990174d0 100644 --- a/src/proc.h +++ b/src/proc.h @@ -249,8 +249,7 @@ typedef std::list job_list_t; bool job_list_is_empty(void); -/// A class to aid iteration over jobs list. Note this is used from a signal handler, so it must be -/// careful to not allocate memory. +/// A class to aid iteration over jobs list class job_iterator_t { job_list_t *const job_list; job_list_t::iterator current, end;