[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Multi-threaded Readers/Writers Lock
- To: <linux-il(at-nospam)linux.org.il>
- Subject: Multi-threaded Readers/Writers Lock
- From: Shlomi Fish <shlomif(at-nospam)techst02.technion.ac.il>
- Date: Sun, 9 Sep 2001 07:09:42 +0300 (EEST)
- Delivered-To: linux.org.il-linux-il@linux.org.il
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
I am looking for an implementation of pthread-based readers/writers lock
in ANSI C. For the moment, the closest thing I found was the
implementation inside the ZThreads library:
http://zthread.sourceforge.net/
which is written in C++ and will require some conversion. I also tried
using flock(), but I'm not sure if it works well across threads.
Does anybody knows of a ready-made ANSI C implementation?
TIA,
Shlomi Fish
----------------------------------------------------------------------
Shlomi Fish shlomif@t2.technion.ac.il
Home Page: http://t2.technion.ac.il/~shlomif/
Home E-mail: shlomif@techie.com
A more experienced programmer does not make less bugs. He just realizes
what went wrong more quickly.
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il