Поиск по:itpm.msu.su -
Поискать по всем серверам
На этой странице приведены все страницы сервера itpm.msu.su ,которые мы индексируем. Показаны документы 541 - 560 из 982.
Упорядочить по:
URL
|
дате изменения
541. Creating a Semaphore Set
. Next: Locking a Semaphore Up: Command Line Syntax Previous: Command Line Syntax . semtool c (number of semaphores in set) . Converted on: . Fri Mar 29 14:43:04 EST 1996
[
Сохраненная копия
]
Ссылки http://itpm.msu.su/LDP/lpg-0.4/node57.html -- 2.4 Кб -- 18.04.1999
Похожие документы
Похожие документы
542. Locking a Semaphore
. Next: Unlocking a Semaphore Up: Command Line Syntax Previous: Creating a Semaphore Set . semtool l (semaphore number to lock) . Converted on: . Fri Mar 29 14:43:04 EST 1996
[
Сохраненная копия
]
Ссылки http://itpm.msu.su/LDP/lpg-0.4/node58.html -- 2.4 Кб -- 18.04.1999
Похожие документы
Похожие документы
543. Unlocking a Semaphore
. Next: Changing the Permissions (mode) Up: Command Line Syntax Previous: Locking a Semaphore . semtool u (semaphore number to unlock) . Converted on: . Fri Mar 29 14:43:04 EST 1996
[
Сохраненная копия
]
Ссылки http://itpm.msu.su/LDP/lpg-0.4/node59.html -- 2.4 Кб -- 18.04.1999
Похожие документы
Похожие документы
544. Changing the Permissions (mode)
. Next: Deleting a Semaphore Set Up: Command Line Syntax Previous: Unlocking a Semaphore . semtool m (mode) . Converted on: . Fri Mar 29 14:43:04 EST 1996
[
Сохраненная копия
]
Ссылки http://itpm.msu.su/LDP/lpg-0.4/node60.html -- 2.4 Кб -- 18.04.1999
Похожие документы
Похожие документы
545. Deleting a Semaphore Set
. Next: Examples Up: Command Line Syntax Previous: Changing the Permissions (mode) . semtool d . Converted on: . Fri Mar 29 14:43:04 EST 1996
[
Сохраненная копия
]
Ссылки http://itpm.msu.su/LDP/lpg-0.4/node61.html -- 2.4 Кб -- 18.04.1999
Похожие документы
Похожие документы
546. Examples
. Next: The Source Up: semtool: An interactive semaphore Previous: Deleting a Semaphore Set . semtool c 5 semtool l semtool u semtool m 660 semtool d . Converted on: . Fri Mar 29 14:43:04 EST 1996
[
Сохраненная копия
]
Ссылки http://itpm.msu.su/LDP/lpg-0.4/node62.html -- 2.4 Кб -- 18.04.1999
Похожие документы
Похожие документы
547. The Source
... ***************************************************************************** A command line tool for tinkering with SysV style Semaphore Sets *****************************************************************************/ #include stdio.h #include ctype ... /types.h #include sys/ipc.h #include sys/sem.h #define SEM_RESOURCE_MAX 1 /* Initial value of all semaphores */ void opensem( int * sid , key _t key ); void createsem( ...
[
Сохраненная копия
]
Ссылки http://itpm.msu.su/LDP/lpg-0.4/node63.html -- 9.4 Кб -- 18.04.1999
Похожие документы
Похожие документы
548. semstat: A semtool companion program
... (C)opyright 1994-1995, Scott Burkett ***************************************************************************** MODULE: semstat .c ***************************************************************************** A companion command line tool for the semtool package. semstat displays the current value of all semaphores in the set created by semtool . *****************************************************************************/ # ...
[
Сохраненная копия
]
Ссылки http://itpm.msu.su/LDP/lpg-0.4/node64.html -- 4.8 Кб -- 18.04.1999
Похожие документы
Похожие документы
549. Deleting a Queue
. Next: Examples Up: Command Line Syntax Previous: Changing the Permissions (mode) . msgtool d . Converted on: . Fri Mar 29 14:43:04 EST 1996
[
Сохраненная копия
]
Ссылки http://itpm.msu.su/LDP/lpg-0.4/node43.html -- 2.4 Кб -- 18.04.1999
Похожие документы
Похожие документы
550. Examples
. Next: The Source Up: msgtool: An interactive message Previous: Deleting a Queue . msgtool s 1 test msgtool s 5 test msgtool s 1 "This is a test" msgtool r 1 msgtool d msgtool m 660 . Converted on: . Fri Mar 29 14:43:04 EST 1996
[
Сохраненная копия
]
Ссылки http://itpm.msu.su/LDP/lpg-0.4/node44.html -- 2.5 Кб -- 18.04.1999
Похожие документы
Похожие документы
551. The Source
... ***************************************************************************** A command line tool for tinkering with SysV style Message Queues *****************************************************************************/ #include stdio.h #include stdlib ... #include ctype.h #include sys/types.h #include sys/ipc.h #include sys/msg.h #define MAX_SEND_SIZE 80 struct mymsgbuf { long mtype; char mtext[MAX_SEND_SIZE]; }; void send_ ...
[
Сохраненная копия
]
Ссылки http://itpm.msu.su/LDP/lpg-0.4/node45.html -- 6.8 Кб -- 18.04.1999
Похожие документы
Похожие документы
552. Basic Concepts
... The same can be said about a simple semaphore set. ... A hypothetical print spool manager will utilize semaphore sets to monitor access to each printer. ... Since each printer is only physically capable of printing one job at a time, each of our five semaphores in our set will be initialized to a value of 1 (one), meaning that they are all online, and accepting requests. ... The print manager looks at the semaphore set, and finds the first semaphore which has a value of one. ...
[
Сохраненная копия
]
Ссылки http://itpm.msu.su/LDP/lpg-0.4/node47.html -- 6.8 Кб -- 18.04.1999
Похожие документы
Похожие документы
553. Internal Data Structures
. Next: Kernel semid_ds structure Up: 6.4.3 Semaphores Previous: Basic Concepts . Let's briefly look at data structures maintained by the kernel for semaphore sets. Kernel semid_ds structure . Kernel sem structure . Converted on: . Fri Mar 29 14:43:04 EST 1996
[
Сохраненная копия
]
Ссылки http://itpm.msu.su/LDP/lpg-0.4/node48.html -- 2.7 Кб -- 18.04.1999
Похожие документы
Похожие документы
554. Kernel semid_ds structure
... One semid data structure for each set of semaphores in the system. */ struct semid_ds { struct ipc_perm sem_perm; /* permissions .. see ipc.h */ time_t sem_otime; /* last semop time */ time_t sem_ctime; /* last change time */ struct sem *sem_base; /* ptr to first semaphore in array */ struct wait_queue *eventn; struct wait_queue *eventz; struct sem_undo *undo; /* undo requests on this array */ ushort sem_nsems; /* no. of semaphores in array */ }; . ...
[
Сохраненная копия
]
Ссылки http://itpm.msu.su/LDP/lpg-0.4/node49.html -- 4.4 Кб -- 18.04.1999
Похожие документы
Похожие документы
555. Kernel sem structure
Next: SYSTEM CALL: semget() Up: Internal Data Structures Previous: Kernel semid_ds structure . In the semid_ds structure, there exists a pointer to the base of the semaphore array itself. ... One semaphore structure for each semaphore in the system. */ struct sem { short sempid; /* pid of last operation */ ushort semval; /* current value */ ushort semncnt; /* num procs awaiting increase in semval */ ushort semzcnt; /* num procs awaiting semval = 0 */ }; . sem_pid . ... sem_semval . ...
[
Сохраненная копия
]
Ссылки http://itpm.msu.su/LDP/lpg-0.4/node50.html -- 3.4 Кб -- 18.04.1999
Похожие документы
Похожие документы
556. SYSTEM CALL: semget()
Next: SYSTEM CALL: semop() Up: 6.4.3 Semaphores Previous: Kernel sem structure . ... SYSTEM CALL: semget(); PROTOTYPE: int semget ( key_t key, int nsems, int semflg ); RETURNS: semaphore set IPC identifier on success -1 on error: errno = EACCESS (permission denied) EEXIST (set exists, cannot create (IPC_EXCL)) EIDRM (set is marked for deletion) ENOENT (set does not exist, no IPC_CREAT was used) ENOMEM (Not enough memory to create new set) ENOSPC (Maximum set limit exceeded) NOTES: . ... IPC_CREAT . ...
[
Сохраненная копия
]
Ссылки http://itpm.msu.su/LDP/lpg-0.4/node51.html -- 6.3 Кб -- 18.04.1999
Похожие документы
Похожие документы
557. SYSTEM CALL: semop()
... SYSTEM CALL : semop (); PROTOTYPE: int semop ( int semid, struct sembuf *sops, unsigned nsops); RETURNS: 0 on success (all operations performed) -1 on error: errno = E2BIG (nsops greater than max number ... EACCESS (permission denied) EAGAIN (IPC_NOWAIT asserted, operation could not go through) EFAULT (invalid address pointed to by sops argument ) EIDRM ( semaphore set was removed) EINTR (Signal received while sleeping) EINVAL ( ... The sops argument points to an array of type sembuf . ...
[
Сохраненная копия
]
Ссылки http://itpm.msu.su/LDP/lpg-0.4/node52.html -- 7.9 Кб -- 18.04.1999
Похожие документы
Похожие документы
558. SYSTEM CALL: semctl()
... SYSTEM CALL: semctl(); PROTOTYPE: int semctl ( int semid, int semnum, int cmd, union semun arg ); RETURNS: positive integer on success -1 on error: errno = EACCESS (permission denied) EFAULT (invalid address pointed to by arg argument) EIDRM (semaphore set was removed) EINVAL (set doesn't exist, or semid is invalid) EPERM (EUID has no privileges for cmd in arg) ERANGE (semaphore value out of range) NOTES: Performs control operations on a semaphore set . ... Used in the IPC_STAT/IPC_SET commands. ...
[
Сохраненная копия
]
Ссылки http://itpm.msu.su/LDP/lpg-0.4/node53.html -- 12.4 Кб -- 18.04.1999
Похожие документы
Похожие документы
559. semtool: An interactive semaphore manipulator
. Next: Background Up: 6.4.3 Semaphores Previous: SYSTEM CALL: semctl() . Background . Command Line Syntax . Creating a Semaphore Set . Locking a Semaphore . Unlocking a Semaphore . Changing the Permissions (mode) . Deleting a Semaphore Set . Examples . The Source . Converted on: . Fri Mar 29 14:43:04 EST 1996
[
Сохраненная копия
]
Ссылки http://itpm.msu.su/LDP/lpg-0.4/node54.html -- 3.3 Кб -- 18.04.1999
Похожие документы
Похожие документы
560. Message buffer
Next: Kernel msg structure Up: Internal and User Data Previous: Internal and User Data . ... This particular data structure can be thought of as a template for message data. ... message buffer for msgsnd and msgrcv calls */ struct msgbuf { long mtype; /* type of message */ char mtext[1]; /* message text */ }; . ... The message data itself. ... struct my_msgbuf { long mtype; /* Message type */ long request_id; /* Request identifier */ struct client info; /* Client information structure */ }; . ...
[
Сохраненная копия
]
Ссылки http://itpm.msu.su/LDP/lpg-0.4/node30.html -- 5.7 Кб -- 18.04.1999
Похожие документы
Похожие документы