public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Cygwin: sigproc.cc: add comment
@ 2020-08-30 13:33 Ken Brown
0 siblings, 0 replies; only message in thread
From: Ken Brown @ 2020-08-30 13:33 UTC (permalink / raw)
To: cygwin-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=0416f68de186f3f24b1f8319e0781e6c5ae0ba53
commit 0416f68de186f3f24b1f8319e0781e6c5ae0ba53
Author: Ken Brown <kbrown@cornell.edu>
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-08-30 13:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-30 13:33 [newlib-cygwin] Cygwin: sigproc.cc: add comment Ken Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).