Vincent Ambo
3144b61ccc
feat(lib): Implement Drop trait for Queue
...
Implements the Drop trait to take care of closing the queue descriptor
when a Queue instance is dropped.
2017-10-16 02:00:32 +02:00
Vincent Ambo
6be954393b
feat(tests): Add a simple send/receive test
2017-10-16 02:00:25 +02:00
Vincent Ambo
c3cc663ab1
fix(lib): Trim whitespace from OS limit files
2017-10-16 01:52:38 +02:00
Vincent Ambo
3ee616a25a
fix(lib): Borrow &self in send/receive
2017-10-16 01:17:05 +02:00
Vincent Ambo
557655ee1d
fix(lib): drop(self) after delete() call
2017-10-16 01:14:27 +02:00
Vincent Ambo
d6fa62a968
style: Apply code format
2017-10-16 01:11:33 +02:00
Vincent Ambo
7dc6144e3f
feat: Implement high-level POSIX message queue API
...
Implements a high-level API on top of POSIX message queues
(mq_overview(7)).
This API can be used to perform local RPC between processes that need
to exchange messages *fast* (or *easy*) with priority ordering.
The methods are mostly documented but there are still two corner cases
that need to be looked at and a lot of tests missing.
2017-10-16 01:08:08 +02:00
Vincent Ambo
1f1a74108e
feat(error): Add error-mapping from C calls
...
Implements an error enum with mappings from the low-level C calls and
appropriate error descriptions.
2017-10-15 23:22:18 +02:00
Vincent Ambo
a89b7255ee
chore: Add project scaffolding
2017-10-15 22:06:22 +02:00
Vincent Ambo
2957c16a53
chore: Initial commit
2017-10-15 22:05:56 +02:00