|
Coda Distributed File System
|
#include <stdlib.h>#include <stdio.h>#include <sys/types.h>#include <signal.h>#include <errno.h>#include <sys/file.h>#include <sys/time.h>#include <fcntl.h>#include <assert.h>#include <lwp/lwp.h>#include <lwp/timer.h>#include "lwp.private.h"
Classes | |
| struct | IoRequest |
Macros | |
| #define | TRUE 1 |
| #define | FALSE 0 |
| #define | NSIG 8 * sizeof(sigset_t) |
| #define | STACK_SIZE 0x8000 |
| #define | badsig(signo) (((signo) <= 0) || ((signo) >= NSIG)) |
| #define | mysigmask(signo) (1 << ((signo) - 1)) |
| #define | NSOFTSIG 4 |
| #define | FreeRequest(x) ((x)->free = iorFreeList, iorFreeList = (x)) |
| #define | Purge(list) FOR_ALL_ELTS(req, list, { free(req->BackPointer); }) |
Functions | |
| int | IOMGR_SoftSig (void(*aproc)(void *), char *arock) |
| int | IOMGR_Initialize () |
| int | IOMGR_Finalize () |
| int | IOMGR_Poll () |
| int | IOMGR_Select (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout) |
| int | IOMGR_Cancel (PROCESS pid) |
| int | IOMGR_Signal (int signo, char *event) |
| int | IOMGR_CancelSignal (int signo) |
| #define FALSE 0 |
| #define FreeRequest | ( | x | ) | ((x)->free = iorFreeList, iorFreeList = (x)) |
| #define mysigmask | ( | signo | ) | (1 << ((signo) - 1)) |
| #define NSIG 8 * sizeof(sigset_t) |
| #define NSOFTSIG 4 |
| #define STACK_SIZE 0x8000 |
| #define TRUE 1 |
| int IOMGR_Cancel | ( | PROCESS | pid | ) |
| int IOMGR_CancelSignal | ( | int | signo | ) |
| int IOMGR_Finalize | ( | ) |
| int IOMGR_Initialize | ( | void | ) |
| int IOMGR_Poll | ( | void | ) |
| int IOMGR_Select | ( | int | nfds, |
| fd_set * | readfds, | ||
| fd_set * | writefds, | ||
| fd_set * | exceptfds, | ||
| struct timeval * | timeout | ||
| ) |
| int IOMGR_Signal | ( | int | signo, |
| char * | event | ||
| ) |
| int IOMGR_SoftSig | ( | void(*)(void *) | aproc, |
| char * | arock | ||
| ) |