LINUX.ORG.RU

мьютекс - одноместный семафор...

Стандартных способов межпроцессорного взаимодействия по POSIX штук 5, если не ошибаюсь...

UrbanSerj
()

from susv3:

--
# pthread_mutex_destroy, pthread_mutex_init - destroy and initialize a mutex
# pthread_mutex_getprioceiling, pthread_mutex_setprioceiling - get and set the priority ceiling of a mutex (REALTIME THREADS)
# pthread_mutex_init - initialize a mutex
# pthread_mutex_lock, pthread_mutex_trylock, pthread_mutex_unlock - lock and unlock a mutex
# pthread_mutex_setprioceiling - change the priority ceiling of a mutex (REALTIME THREADS)
# pthread_mutex_timedlock - lock a mutex (ADVANCED REALTIME)
# pthread_mutex_trylock, pthread_mutex_unlock - lock and unlock a mutex
# pthread_mutexattr_destroy, pthread_mutexattr_init - destroy and initialize mutex attributes object
# pthread_mutexattr_getprioceiling, pthread_mutexattr_setprioceiling - get and set prioceiling attribute of mutex attributes object (REALTIME THREADS)
# pthread_mutexattr_getprotocol, pthread_mutexattr_setprotocol - get and set protocol attribute of mutex attributes object (REALTIME THREADS)
# pthread_mutexattr_getpshared, pthread_mutexattr_setpshared - get and set process-shared attribute
# pthread_mutexattr_gettype, pthread_mutexattr_settype - get and set a mutex type attribute
# pthread_mutexattr_init - initialize mutex attributes object
# pthread_mutexattr_setprioceiling - set prioceiling attribute of mutex attributes object (REALTIME THREADS)
# pthread_mutexattr_setprotocol - set protocol attribute of mutex attributes object (REALTIME THREADS)
# pthread_mutexattr_setpshared - set process-shared attribute
# pthread_mutexattr_settype - set a mutex type attribute
--

http://www.unix.org/single_unix_specification/
+ man pthreads

asgard
()
Ответ на: комментарий от UrbanSerj

>Стандартных способов межпроцессорного взаимодействия по POSIX штук 5, если не ошибаюсь...

А где почитать, подскажите пожалуйста

>pthreads...
так это ведь потоки одного процесса а надо system-wide IPC

anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.