Main > Programming > Libraries >

libshbuf 0.0.3

libshbuf 0.0.3

Sponsored Links

libshbuf 0.0.3 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.26 MB
Platform: Any Platform
License: LGPL (GNU Lesser General Public License)
Price:
Downloads: 1414
Date added: 2005-12-09
Publisher: Lennart Poettering

libshbuf 0.0.3 description

libshbuf introduces a new IPC concept: the "shared buffer", a more flexible and faster alternative for standard Unix FIFOs.
Take some shared memory, flavour it with semaphore-based locking and change notifications, and refine it with an easy-to-use API and you get libshbufs "shared buffers".
Main features:
- Normally better latency and throughput
- Full access to the buffer at any time
- Connecting processes need not to be children of each other
- Arbitrary buffer lengths
- Memory mapped
- Backlog
The implementation is based on SysV shared memory, semaphores and message queues. It makes use of POSIX pthreads.
Both an easy understandable C library and a basic Python module are provided.
Version 0.0.3 is stable and feature complete.
The concept of "shared buffers" is explicitly designed for high thoughput, low latency streaming of data (e.g. audio) between two processes, where a Unix FIFO is not enough. Thus it is optimized for exactly two connecting peers, a minimum of locking and minimum of copying of memory.
For each shared buffer two shared memory blocks, a semaphore and a messages queue are created. The first shared memory block (aka "control memory block") contains some watermark information about the shared buffer. The second contains the buffer itself.
The semaphore is used for locking access to the control block. The message queue is used for signalling the other side on changes of the buffer.
A shared buffer provider is a process which creates it with with shbuf_create(). A new key for it will be registered (the key is an integer value, the key_t of the control shm). A shared buffer client is the other side of the buffer: it opens an existing buffer with shbuf_open(key).
Only one client and one provider may be connected at once. When using the notifying feature of libshbuf a background thread is started, which listens on the message queue for certain messages. It forwards these messages to a classic FIFO. The main program may listen on this FIFO with a standard select() or poll().

libshbuf 0.0.3 Screenshot

Advertisements

libshbuf 0.0.3 Keywords

Bookmark libshbuf 0.0.3

Hyperlink code:
Link for forum:

libshbuf 0.0.3 Copyright

WareSeeker periodically updates pricing and software information of libshbuf 0.0.3 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 libshbuf 0.0.3 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
libease is a shared library containing easing algorithms. Free Download
LibSerial provides a collection of C++ classes that allow one to access serial ports on POSIX systems. Free Download
Phluid is a window manager that emphasizes efficiency, speed, and beauty. Free Download
KTU project makes it possible to fetch a translation from KDEs svn. Free Download
The Baghdad project is an Arabic spell checker. Free Download
libt2n (talk to neighbor) is a C++ library for inter-process communication (IPC) with an additional code generator. Free Download
WxLib is a widely resuable C++ library that converts many facilities that are found in the standard C library. Free Download
Web Sharing is a small tray applet for sharing files on the web. Free Download