Поиск по: -
Поискать по всем серверам
На этой странице приведены все страницы, которые ссылаются на http://jet.sao.ru/hq/sts/linux/doc/ipc_guide/mq.html. Показаны документы 1 - 1 из 1.
1. Semaphores
... include <sys/sem.h> int semget(key_t key , int nsems , int semflg ); . ... All operations that set, get, or test-n-set a semaphore use the semop() system call. ... include stdio.h # include stdlib.h # include errno.h # include sys/types.h # include sys/ipc.h # include sys/sem.h int main(void) { key _t key ; int semid ; struct sembuf sb = {0, -1, 0}; /* set to allocate resource */ if (( key = ftok( semdemo.c , 'J')) == -1) { perror( ftok ); exit(1); } /* grab the ...
[
Сохраненная копия
]
Ссылки http://mavr.sao.ru/hq/sts/linux/doc/ipc_guide/semaphores.html -- 15.1 Кб -- 28.12.2007
[ Сохраненная копия ] Ссылки http://www.sao.ru/hq/sts/linux/doc/ipc_guide/semaphores.html -- 15.1 Кб -- 02.10.2012
[ Сохраненная копия ] Ссылки http://jet.sao.ru/hq/sts/linux/doc/ipc_guide/semaphores.html -- 15.1 Кб -- 02.10.2012
Похожие документы
[ Сохраненная копия ] Ссылки http://www.sao.ru/hq/sts/linux/doc/ipc_guide/semaphores.html -- 15.1 Кб -- 02.10.2012
[ Сохраненная копия ] Ссылки http://jet.sao.ru/hq/sts/linux/doc/ipc_guide/semaphores.html -- 15.1 Кб -- 02.10.2012
Похожие документы
Астронет | Научная сеть | ГАИШ МГУ | Поиск по МГУ | О проекте | Авторам
Комментарии, вопросы? Пишите: info@astronet.ru или сюда