Guido van Rossum | ecde781 | 1995-03-28 13:35:14 +0000 | [diff] [blame] | 1 | \chapter{Optional Operating System Services} |
Fred Drake | af0bfbe | 1998-02-18 15:39:15 +0000 | [diff] [blame] | 2 | \label{someos} |
Guido van Rossum | ecde781 | 1995-03-28 13:35:14 +0000 | [diff] [blame] | 3 | |
| 4 | The modules described in this chapter provide interfaces to operating |
| 5 | system features that are available on selected operating systems only. |
Fred Drake | af0bfbe | 1998-02-18 15:39:15 +0000 | [diff] [blame] | 6 | The interfaces are generally modelled after the \UNIX{} or \C{} |
Guido van Rossum | ecde781 | 1995-03-28 13:35:14 +0000 | [diff] [blame] | 7 | interfaces but they are available on some other systems as well |
| 8 | (e.g. Windows or NT). Here's an overview: |
| 9 | |
| 10 | \begin{description} |
| 11 | |
| 12 | \item[signal] |
| 13 | --- Set handlers for asynchronous events. |
| 14 | |
| 15 | \item[socket] |
| 16 | --- Low-level networking interface. |
| 17 | |
| 18 | \item[select] |
| 19 | --- Wait for I/O completion on multiple streams. |
| 20 | |
| 21 | \item[thread] |
| 22 | --- Create multiple threads of control within one namespace. |
| 23 | |
Guido van Rossum | 3472026 | 1997-11-20 21:00:03 +0000 | [diff] [blame] | 24 | \item[Queue] |
| 25 | --- A stynchronized queue class. |
| 26 | |
Guido van Rossum | 571391b | 1997-04-03 22:41:49 +0000 | [diff] [blame] | 27 | \item[anydbm] |
| 28 | --- Generic interface to DBM-style database modules. |
Guido van Rossum | dfb4120 | 1997-04-30 19:40:10 +0000 | [diff] [blame] | 29 | |
Guido van Rossum | 3472026 | 1997-11-20 21:00:03 +0000 | [diff] [blame] | 30 | \item[whichdb] |
Guido van Rossum | 571391b | 1997-04-03 22:41:49 +0000 | [diff] [blame] | 31 | --- Guess which DBM-style module created a given database. |
| 32 | |
Guido van Rossum | dfb4120 | 1997-04-30 19:40:10 +0000 | [diff] [blame] | 33 | \item[zlib] |
| 34 | \item[gzip] |
| 35 | --- Compression and decompression compatible with the |
Fred Drake | af0bfbe | 1998-02-18 15:39:15 +0000 | [diff] [blame] | 36 | \program{gzip} program (\module{zlib} is the low-level interface, |
| 37 | \module{gzip} the high-level one). |
Guido van Rossum | dfb4120 | 1997-04-30 19:40:10 +0000 | [diff] [blame] | 38 | |
Guido van Rossum | ecde781 | 1995-03-28 13:35:14 +0000 | [diff] [blame] | 39 | \end{description} |