inotify-cxx FAQ (Frequently Asked Questions)
-
Q: What is inotify-cxx?
inotify-cxx is a C++ interface for inotify.
See About for more details.
-
Q: What can I use inotify-cxx for?
inotify-cxx can be used for all purposes for which you could use inotify.
But using inotify-cxx simplifies and speeds-up your development.
-
Q: Exceptions? No, thanks...
Exceptions are known to have some additional overhead. But if you want to
avoid them in a complex application it leads to very badly arranged code,
especially if you use some advanced error handling and/or logging.
Usage of exceptions give you a chance to simply identify what happened and
where.
-
Q: inotify-cxx can be used in blocking mode only!
It's false. Call Inotify::SetNonBlock() or fcntl() for non-blocking mode. Then
you can use standard functions like select() or poll(), or signals eventually.
-
Q: Is inotify-cxx thread-safe?
The general answer is NO. Some classes are intended to be implemented this
way due to their usage style. The main part of inotify-cxx can be compiled
as thread-safe - define INOTIFY_THREAD_SAFE when compiling. But remember
there might be some bugs yet.
-
Q: What about licensing?
inotify-cxx uses a triple-licensing model. It means you can choose one of
the three following licenses: GNU GPL version 2, GNU LGPL version 2.1 or
a X11-style license (a.k.a. MIT license).
-
Q: How to report bugs?
If you find a bug or have a suggestion, you can report it through the
Bug Tracking System.
-
Q: inotify-cxx is nice! I want to support its development.
You can
make a donation
through PayPal. If you do this then 5 % of the total amount
will be tranferred to Electronic Frontier Foundation
(a non-profit group established to protect freedom in the digital world).
Thanks for any help!