From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,a3ae14aeae49226,start X-Google-Attributes: gidfee84,public From: Aurel Balmosan Subject: mutex between processes? Date: 1998/08/04 Message-ID: #1/1 X-Deja-AN: 377964927 X-Nntp-Posting-Host: 194.122.136.143 Sender: news@orga.com (News Administrator) Organization: ORGA Kartensysteme GmbH Newsgroups: comp.unix.osf.osf1 Currently we use ipc semaphores to sync access of different processes to a shared memory region. This appears to be quite slow. About 25-30% system time are required due to the system calles made. Now we want to use mutex. (posix mutex) It does appear that this can not be used easily for sync different processes on shared memory (or mmap memory) For SUN-Solaris-2.5.1 it is written in the manual to the pthread_mutex that it can be used also for different processes via mmap or shared memory. (not only for tasks within a process) Is there something equal on OSF1 (DecUnix-4.0[abcd]) Important is that no system call need to be made. Regards, Aurel Balmosan -- Aurel Balmosan | Department SE-SW ORGA Kartensysteme GmbH | phone: +49 5254 991 824 An der Kapelle 2 | fax : +49 5254 991 749 33104 Paderborn, Germany | mailto:ab@orga.com