summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc/port/threads/thr.c
diff options
context:
space:
mode:
authorDaniel Hoffman <dj.hoffman@delphix.com>2017-02-17 11:48:20 -0800
committerMatthew Ahrens <mahrens@delphix.com>2017-02-22 11:43:07 -0800
commit48bbca816818409505a6e214d0911fda44e622e3 (patch)
tree7b823654982b246c7df6ae378d344139fde35b51 /usr/src/lib/libc/port/threads/thr.c
parente40108ff341f07fe03e96c751c6cf2cb5867d1a8 (diff)
downloadillumos-gate-48bbca816818409505a6e214d0911fda44e622e3.tar.gz
7812 Remove gender specific language
Reviewed by: Matt Ahrens <mahrens@delphix.com> Reviewed by: Prakash Surya <prakash.surya@delphix.com> Reviewed by: Steve Gonczi <steve.gonczi@delphix.com> Reviewed by: Chris Williamson <chris.williamson@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/lib/libc/port/threads/thr.c')
-rw-r--r--usr/src/lib/libc/port/threads/thr.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/usr/src/lib/libc/port/threads/thr.c b/usr/src/lib/libc/port/threads/thr.c
index 88ce377f21..116bb61125 100644
--- a/usr/src/lib/libc/port/threads/thr.c
+++ b/usr/src/lib/libc/port/threads/thr.c
@@ -21,6 +21,7 @@
/*
* Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016 by Delphix. All rights reserved.
*/
/*
* Copyright 2016 Joyent, Inc.
@@ -1786,17 +1787,17 @@ force_continue(ulwp_t *ulwp)
if (error != 0 && error != EINTR)
break;
error = 0;
- if (ulwp->ul_stopping) { /* he is stopping himself */
- ts.tv_sec = 0; /* give him a chance to run */
+ if (ulwp->ul_stopping) { /* it is stopping itsself */
+ ts.tv_sec = 0; /* give it a chance to run */
ts.tv_nsec = 100000; /* 100 usecs or clock tick */
(void) __nanosleep(&ts, NULL);
}
- if (!ulwp->ul_stopping) /* he is running now */
+ if (!ulwp->ul_stopping) /* it is running now */
break; /* so we are done */
/*
- * He is marked as being in the process of stopping
- * himself. Loop around and continue him again.
- * He may not have been stopped the first time.
+ * It is marked as being in the process of stopping
+ * itself. Loop around and continue it again.
+ * It may not have been stopped the first time.
*/
}
}
@@ -2480,7 +2481,7 @@ getlwpstatus(thread_t tid, struct lwpstatus *sp)
(void) __close(fd);
return (0);
}
- yield(); /* give him a chance to stop */
+ yield(); /* give it a chance to stop */
}
(void) __close(fd);
}