mirror of
https://salsa.debian.org/ha-team/libqb
synced 2026-02-03 12:13:10 +00:00
qb_ipcs_dispatch_connection_request is a callback function registered with mainloop, or whatever other looping thread implementation is in use. When this callback is registered, a reference of the connection object is given to the mainloop thread. If this callback ever returns something none zero the callback (and corresponding fd) is unregistered from the loop automatically, so we must decrement the reference in this instance. Since unregistering this callback from mainloop guarantees a disconnect simply because requests on the fd are no longer processed, it is best that we completely disconnect the connection (which will handle the unref) when this callback returns an error... Otherwise since the fd is unregistered from the mainloop thread, it may not be possible to detect a disconnect in the future. |
||
|---|---|---|
| build-aux | ||
| docs | ||
| examples | ||
| include | ||
| lib | ||
| tests | ||
| tools | ||
| .gitignore | ||
| .travis.yml | ||
| autogen.sh | ||
| check | ||
| coding_style.txt | ||
| configure.ac | ||
| COPYING | ||
| INSTALL | ||
| libqb.spec.in | ||
| Lindent | ||
| Makefile.am | ||
| README.markdown | ||
libqb
What is libqb?
libqb is a library with the primary purpose of providing high performance client server reusable features. It provides high performance logging, tracing, ipc, and poll.
We don't intend be an all encompassing library, but instead provide very specially focused APIs that are highly tuned for maximum performance for client/server applications.
For more information look at:
-
You can build it yourself with the following commands:
$ make doxygen $ firefox ./doc/html/index.html
Dependencies
- glib-2.0-devel (If you want to build the glib example code)
- check-devel (If you want to run the tests)
- doxygen and graphviz (If you want to build the doxygen man pages or html manual)
Source Control (GIT)
git clone git://github.com/clusterlabs/libqb.git
Installing from source
$ ./autogen.sh
$ ./configure
$ make
$ sudo make install
How you can help
If you find this project useful, you may want to consider supporting its future development. There are a number of ways to support the project.
- Test and report issues.
- Help others on the mailing list.
- Contribute documentation, examples and test cases.
- Contribute patches.
- Spread the word.
