whould it be possible to use pthread semaphore/mutex/cond_var on
shared-via-mmap() chunks of memory instead ?
regards
--
+--+
|Rossetti Davide INFN - Sezione Roma I - gruppo V, prog. APEmille|
| web: http://a
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Mihai Moise
>
> up(semaphore 1) /* wake up client */
> down(semaphore 0) /* put iself to sleep */
>
> The problem is that the two system calls make the whole process twice
> as slow a
Will it not be a very specialized case rather than being general call type?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mihai Moise
Sent: Monday, June 04, 2001 11:05 PM
To: [EMAIL PROTECTED]
Subject: semaphores and noatomic flag
I write this to disc
3 matches
Mail list logo