-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Guard appending to outputData and errorData
Since the FileHandle readabilityHandlers execute asyncronously, possibly on multiple different queues, we need to guard the reads/writes of the outputData/errorData on a serial dispatch queue, and block until all writes have finished.
- Loading branch information
1 parent
0208caa
commit 6e44fc1
Showing
1 changed file
with
33 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters