This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Posix semaphore between different processes


Kaz Kylheku <kaz@ashi.footprints.net> writes:

> Why? Function pointers be used to bind a different set of operations for a
> process-shared semaphore at run time.  Going to the kernel for inter-thread
> semaphore operations would be a drag.

We always go though the kernel, we use signals and this is much more
costly.  Of course there are optimizations possible and this is using
an m:n model which is honestly considered.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]