summaryrefslogtreecommitdiffstats
path: root/lib/libpthread
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1997-04-01 22:51:48 +0000
committerjb <jb@FreeBSD.org>1997-04-01 22:51:48 +0000
commit23802b4b622906b7615df31174080cdad5289a31 (patch)
tree52646d82aec32ed054e432a458a415bf8541e8e2 /lib/libpthread
parent70db53e4e7dc4735a7b70b709b3fa317b1873359 (diff)
downloadFreeBSD-src-23802b4b622906b7615df31174080cdad5289a31.zip
FreeBSD-src-23802b4b622906b7615df31174080cdad5289a31.tar.gz
Fix indentations. Sigh.
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/thread/thr_kern.c32
1 files changed, 17 insertions, 15 deletions
diff --git a/lib/libpthread/thread/thr_kern.c b/lib/libpthread/thread/thr_kern.c
index 679b315..ba8e250 100644
--- a/lib/libpthread/thread/thr_kern.c
+++ b/lib/libpthread/thread/thr_kern.c
@@ -29,6 +29,8 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
+ * $Id$
+ *
*/
#include <errno.h>
#include <stdlib.h>
@@ -1081,10 +1083,10 @@ _thread_kern_select(int wait_reqd)
/* Process according to thread state: */
switch (pthread->state) {
- /*
- * States which do not depend on file descriptor I/O
- * operations or timeouts:
- */
+ /*
+ * States which do not depend on file descriptor I/O
+ * operations or timeouts:
+ */
case PS_DEAD:
case PS_FDLR_WAIT:
case PS_FDLW_WAIT:
@@ -1099,7 +1101,7 @@ _thread_kern_select(int wait_reqd)
/* Nothing to do here. */
break;
- /* File descriptor read wait: */
+ /* File descriptor read wait: */
case PS_FDR_WAIT:
/* Add the file descriptor to the read set: */
FD_SET(pthread->data.fd.fd, &fd_set_read);
@@ -1119,7 +1121,7 @@ _thread_kern_select(int wait_reqd)
settimeout = 1;
break;
- /* File descriptor write wait: */
+ /* File descriptor write wait: */
case PS_FDW_WAIT:
/* Add the file descriptor to the write set: */
FD_SET(pthread->data.fd.fd, &fd_set_write);
@@ -1139,14 +1141,14 @@ _thread_kern_select(int wait_reqd)
settimeout = 1;
break;
- /* States that time out: */
+ /* States that time out: */
case PS_SLEEP_WAIT:
case PS_COND_WAIT:
/* Flag a timeout as required: */
settimeout = 1;
break;
- /* Select wait: */
+ /* Select wait: */
case PS_SELECT_WAIT:
/*
* Enter a loop to process each file descriptor in
@@ -1428,10 +1430,10 @@ _thread_kern_select(int wait_reqd)
for (pthread = _thread_link_list; pthread != NULL; pthread = pthread->nxt) {
/* Process according to thread state: */
switch (pthread->state) {
- /*
- * States which do not depend on file
- * descriptor I/O operations:
- */
+ /*
+ * States which do not depend on file
+ * descriptor I/O operations:
+ */
case PS_RUNNING:
case PS_COND_WAIT:
case PS_DEAD:
@@ -1448,7 +1450,7 @@ _thread_kern_select(int wait_reqd)
/* Nothing to do here. */
break;
- /* File descriptor read wait: */
+ /* File descriptor read wait: */
case PS_FDR_WAIT:
/*
* Check if the file descriptor is available
@@ -1464,7 +1466,7 @@ _thread_kern_select(int wait_reqd)
}
break;
- /* File descriptor write wait: */
+ /* File descriptor write wait: */
case PS_FDW_WAIT:
/*
* Check if the file descriptor is available
@@ -1480,7 +1482,7 @@ _thread_kern_select(int wait_reqd)
}
break;
- /* Select wait: */
+ /* Select wait: */
case PS_SELECT_WAIT:
/*
* Reset the flag that indicates if a file
OpenPOWER on IntegriCloud