[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multi-threaded Readers/Writers Lock




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