[iserv] move forkIO
authorMoritz Angermann <moritz.angermann@gmail.com>
Sat, 27 May 2017 14:26:44 +0000 (10:26 -0400)
committerBen Gamari <ben@smart-cactus.org>
Fri, 2 Jun 2017 16:27:45 +0000 (12:27 -0400)
commit35c7ea8b01a849aceca5c017989043d4cb6fe8a6
tree16d4094e6118e88e0145bec5d74cf88057ff7116
parent750a25f47b626e6495cc6f951eca071429744767
[iserv] move forkIO

This moves the forkIO into the `startSlave` function from the
`startSlave'` function, such that this allows consumers to call
`forkSlave'` if they want the blocking behaviour.

Reviewers: bgamari, austin

Reviewed By: bgamari

Subscribers: Ericson2314, ryantrinkle, rwbarton, thomie

Differential Revision: https://phabricator.haskell.org/D3601
iserv/src/Remote/Slave.hs