Re: pthread_rwlock for inter-process?



On Tuesday 07 Mar 2006 10:29 in article
<1141727381.125826.122930@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> of
comp.os.linux.development.apps, cyril.li@xxxxxxxxx wrote:

Is that possible to use pthread_rwlock in the shared libarary to
protect a shared memory area for two processes?

Yes, provided you are using NPTL instead of LinuxThreads.

--
Regards

Dave [RLU#314465]
======================================================
dwnoon@xxxxxxxxxxxxxxxxxxxxx (David W Noon)
Remove spam trap to reply via e-mail.
======================================================

.



Relevant Pages

  • Re: 382 linux threads
    ... This is not the max per prozess. ... a kernel header file, don't know the exact location right now. ... Means that nptl is available on this machine - a kernel that supports it. ... glibc was compiled with linuxthreads. ...
    (comp.programming.threads)
  • Re: Suse 9.3 Threads (Linux or NPTL) question
    ... dyrmak wrote: ... >>and compile I still get that it is using the linuxthreads and not nptl. ...
    (alt.os.linux.suse)
  • Re: Linux and Threads
    ... EDT 2002 i686) and LinuxThreads, can one safely upgrade to NPTL? ... real world, real life testimonies? ... > - Not fully POSIX compliant ...
    (comp.os.linux.development.apps)
  • Re: Linux and Threads
    ... EDT 2002 i686) and LinuxThreads, can one safely upgrade to NPTL? ... real world, real life testimonies? ... > - Not fully POSIX compliant ...
    (comp.os.linux.development.system)
  • [SLE] Suse 9.3 Threads (Linux or NPTL) question
    ... PID) and it reported that I was running with LinuxThreads however when I ... checking Glibc /lib/libc.so.6 reports that it is using linuxthreads. ... and compile I still get that it is using the linuxthreads and not nptl. ... Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org ...
    (SuSE)