From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2210) id D1AE03857814; Sun, 30 Aug 2020 13:33:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D1AE03857814 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Ken Brown To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin] Cygwin: sigproc.cc: add comment X-Act-Checkin: newlib-cygwin X-Git-Author: Ken Brown X-Git-Refname: refs/heads/master X-Git-Oldrev: 6af1524aaa285b3a003384cf13f8430c7ecf8e86 X-Git-Newrev: 0416f68de186f3f24b1f8319e0781e6c5ae0ba53 Message-Id: <20200830133343.D1AE03857814@sourceware.org> Date: Sun, 30 Aug 2020 13:33:43 +0000 (GMT) X-BeenThere: cygwin-cvs@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin core component git logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2020 13:33:43 -0000 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=0416f68de186f3f24b1f8319e0781e6c5ae0ba53 commit 0416f68de186f3f24b1f8319e0781e6c5ae0ba53 Author: Ken Brown Date: Sat Aug 29 05:59:56 2020 -0400 Cygwin: sigproc.cc: add comment Diff: --- winsup/cygwin/sigproc.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc index 2a9734f00..47352c213 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -44,7 +44,11 @@ char NO_COPY myself_nowait_dummy[1] = {'0'}; #define Static static NO_COPY -/* All my children info. Avoid expensive constructor ops at DLL startup */ +/* All my children info. Avoid expensive constructor ops at DLL + startup. + + This class can allocate memory. But there's no need to free it + because only one instance of the class is created per process. */ class child_procs { #ifdef __i386__ static const int _NPROCS = 256;