libfilo 0.11
Sponsored Links
libfilo 0.11 Ranking & Summary
File size:
0.012 MB
Platform:
Any Platform
License:
Open Software License
Price:
Downloads:
1474
Date added:
2005-10-11
Publisher:
Alberto Bertogli
libfilo 0.11 description
libfilo is a small portable library to do userspace file locking, like fcntl(), lockf() or flock(), but within threads.
If you want multiple threads to access a file simultaneously, you will probably need some kind of locking to avoid them stepping on each other and corrupting everything. Currently, there is no standard way of doing this:
- fcntl() ignores threads, and only works between processes.
- flock() is not really standard and doesnt work well over NFS.
- lockf(), while it is documented in POSIX, its often implemented using fcntl() so its also useless.
So this library allows you to do read/write file locking with byte granularity and fcntl-like semantics, within threads. Its written in C, in about 600 lines of code, and has no dependencies on external libraries.
Its based on the traditional POSIX API and follows the Single UNIX Specification, so it should be portable to all major UNIX variants without problems; however its developed under Linux, so please let me know if you try it somewhere else.
If you want multiple threads to access a file simultaneously, you will probably need some kind of locking to avoid them stepping on each other and corrupting everything. Currently, there is no standard way of doing this:
- fcntl() ignores threads, and only works between processes.
- flock() is not really standard and doesnt work well over NFS.
- lockf(), while it is documented in POSIX, its often implemented using fcntl() so its also useless.
So this library allows you to do read/write file locking with byte granularity and fcntl-like semantics, within threads. Its written in C, in about 600 lines of code, and has no dependencies on external libraries.
Its based on the traditional POSIX API and follows the Single UNIX Specification, so it should be portable to all major UNIX variants without problems; however its developed under Linux, so please let me know if you try it somewhere else.
libfilo 0.11 Screenshot
libfilo 0.11 Keywords
File locking
portable library
libfilo
threads
file
locking
Fcntl
portable
libfilo 0.11
Libraries
Programming
Bookmark libfilo 0.11
libfilo 0.11 Copyright
WareSeeker periodically updates pricing and software information of libfilo 0.11 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of libfilo 0.11 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
locking file cabinets
file and record locking
locking file
file locking software
file locking linux
file locking programs
viking portable library
file locking c
java file locking
portable library of liberty
windows file locking
file locking in java
opportunistic file locking
mobile library
locking gas caps
threads of love
file locking java
perl file locking
Related Software
firefly is a firewall and QoS script for Linux netfilter. Free Download
filtergen takes a high-level langauge and compiles it into packet filtering rules for a variety of packet filters. Free Download
libtftp is a portable library which contains a simple TFTP client and server. Free Download
Fluxus is program that reads live audio or OSC network messages. Free Download
libnetfilter_queue is a userspace library providing an API to packets that have been queued by the kernel packet filter. Free Download
libdvbpsi is a very simple and fully portable library designed for MPEG TS and DVB PSI table decoding and generation. Free Download
Olive aims to be a full-featured graphical frontend for Bazaar. Free Download
Bare XML project is a XML parser with all primary parsing done via a simple state engine with about 20 or so different states. Free Download
Latest Software
Popular Software
Favourite Software