Update README

This commit is contained in:
Dennis Klein
2018-04-10 18:52:57 +02:00
parent ff16a28686
commit c0ebd58ee3
14 changed files with 867 additions and 1 deletions

13
docs/Development.md Normal file
View File

@@ -0,0 +1,13 @@
← [Back](../README.md)
# 4. Development
## 4.1 Testing
For unit testing it is often not feasible to boot up a full-blown distributed system with dozens of processes.
In some scenarios it is useful to not even instantiate a `FairMQDevice` at all. Please see [this example](../test/protocols/_push_pull_multipart.cxx) for single and multi threaded unit test without a device instance. If you store your transport factories and channels on the heap, pls make sure, you destroy the channels before you destroy the related transport factory for proper shutdown. Channels provide all the `Send/Receive` and `New*Message/New*Poller` APIs provided by the device too.
TODO Multiple devices in one process.
← [Back](../README.md)