From 7a1db17ac5069dd7dda2f42b6a0fda651d7b7f70 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Tue, 29 Aug 1995 18:38:51 +0000 Subject: (pipe_acquire_reader, pipe_acquire_writer, pipe_add_reader, pipe_add_writer): `aquire' -> `acquire'. --- libpipe/pipe.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libpipe') diff --git a/libpipe/pipe.h b/libpipe/pipe.h index 005a1873..01a92195 100644 --- a/libpipe/pipe.h +++ b/libpipe/pipe.h @@ -62,7 +62,7 @@ struct pipe while a thread is waiting to read from a pipe and that pipe gets deallocated (say by socket_shutdown), it doesn't actually go away until the reader realizes what happened. It is normally frobbed using - pipe_aquire & pipe_release, which do locking as well.. */ + pipe_acquire & pipe_release, which do locking as well.. */ unsigned readers, writers; /* Various flags, from PIPE_* below. */ @@ -159,7 +159,7 @@ error_t pipe_create (struct pipe_class *class, struct pipe **pipe); /* Free PIPE and any resources it holds. */ void pipe_free (struct pipe *pipe); -/* Take any actions necessary when PIPE aquires its first writer. */ +/* Take any actions necessary when PIPE acquires its first writer. */ void _pipe_first_writer (struct pipe *pipe); /* Take any actions necessary when PIPE's last reader has gone away. PIPE @@ -172,7 +172,7 @@ void _pipe_no_writers (struct pipe *pipe); /* Lock PIPE and increment its readers count. */ extern inline void -pipe_aquire_reader (struct pipe *pipe) +pipe_acquire_reader (struct pipe *pipe) { mutex_lock (&pipe->lock); pipe->readers++; @@ -180,7 +180,7 @@ pipe_aquire_reader (struct pipe *pipe) /* Lock PIPE and increment its writers count. */ extern inline void -pipe_aquire_writer (struct pipe *pipe) +pipe_acquire_writer (struct pipe *pipe) { mutex_lock (&pipe->lock); if (pipe->writers++ == 0) @@ -213,7 +213,7 @@ pipe_release_writer (struct pipe *pipe) extern inline void pipe_add_reader (struct pipe *pipe) { - pipe_aquire_reader (pipe); + pipe_acquire_reader (pipe); mutex_unlock (&pipe->lock); } @@ -221,7 +221,7 @@ pipe_add_reader (struct pipe *pipe) extern inline void pipe_add_writer (struct pipe *pipe) { - pipe_aquire_writer (pipe); + pipe_acquire_writer (pipe); mutex_unlock (&pipe->lock); } -- cgit v1.2.3