| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: ltsleep.9,v 1.13 2012/01/28 13:12:52 rmind Exp $ | | 1 | .\" $NetBSD: ltsleep.9,v 1.14 2012/01/28 13:26:12 wiz Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 1996, 2002, 2007 The NetBSD Foundation, Inc. | | 3 | .\" Copyright (c) 1996, 2002, 2007 The NetBSD Foundation, Inc. |
4 | .\" All rights reserved. | | 4 | .\" All rights reserved. |
5 | .\" | | 5 | .\" |
6 | .\" This code is derived from software contributed to The NetBSD Foundation | | 6 | .\" This code is derived from software contributed to The NetBSD Foundation |
7 | .\" by Paul Kranenburg. | | 7 | .\" by Paul Kranenburg. |
8 | .\" | | 8 | .\" |
9 | .\" Redistribution and use in source and binary forms, with or without | | 9 | .\" Redistribution and use in source and binary forms, with or without |
10 | .\" modification, are permitted provided that the following conditions | | 10 | .\" modification, are permitted provided that the following conditions |
11 | .\" are met: | | 11 | .\" are met: |
12 | .\" 1. Redistributions of source code must retain the above copyright | | 12 | .\" 1. Redistributions of source code must retain the above copyright |
13 | .\" notice, this list of conditions and the following disclaimer. | | 13 | .\" notice, this list of conditions and the following disclaimer. |
14 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 14 | .\" 2. Redistributions in binary form must reproduce the above copyright |
| @@ -48,29 +48,27 @@ | | | @@ -48,29 +48,27 @@ |
48 | .Em The | | 48 | .Em The |
49 | .Em Fn ltsleep | | 49 | .Em Fn ltsleep |
50 | .Em interface has been obsoleted and removed from the system. | | 50 | .Em interface has been obsoleted and removed from the system. |
51 | .Pp | | 51 | .Pp |
52 | .Em Please see the | | 52 | .Em Please see the |
53 | .Xr condvar 9 , | | 53 | .Xr condvar 9 , |
54 | .Xr mutex 9 , | | 54 | .Xr mutex 9 , |
55 | .Em and | | 55 | .Em and |
56 | .Xr rwlock 9 | | 56 | .Xr rwlock 9 |
57 | .Em manual pages for information on kernel synchronisation primitives. | | 57 | .Em manual pages for information on kernel synchronisation primitives. |
58 | .Pp | | 58 | .Pp |
59 | These functions implement voluntary context switching. | | 59 | These functions implement voluntary context switching. |
60 | .Fn tsleep | | 60 | .Fn tsleep |
61 | and | | 61 | is used throughout the kernel whenever processing in the current context |
62 | .Fn tsleep | | | |
63 | are used throughout the kernel whenever processing in the current context | | | |
64 | can not continue for any of the following reasons: | | 62 | can not continue for any of the following reasons: |
65 | .Bl -bullet -offset indent | | 63 | .Bl -bullet -offset indent |
66 | .It | | 64 | .It |
67 | The current process needs to await the results of a pending I/O operation. | | 65 | The current process needs to await the results of a pending I/O operation. |
68 | .It | | 66 | .It |
69 | The current process needs resources | | 67 | The current process needs resources |
70 | .Pq e.g., memory | | 68 | .Pq e.g., memory |
71 | which are temporarily unavailable. | | 69 | which are temporarily unavailable. |
72 | .It | | 70 | .It |
73 | The current process wants access to data-structures which are locked by | | 71 | The current process wants access to data-structures which are locked by |
74 | other processes. | | 72 | other processes. |
75 | .El | | 73 | .El |
76 | .Pp | | 74 | .Pp |