-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
standalone-enc: trivial fixes to _pipe_socketpair_one.c
- adjust printf to clarify that this is only one proto_pipe(), and that it's happening over a socketpair. - remove _thread() from function names. (In the future, those will run in separate processes.) - join the enc_thr before the output_thr, since enc_thr is more likely to be finished first. (Any time difference is likely to be negligible, but it's good practice to do it in the right order.) - adjust pipe_output() to have the same general format as pipe_enc(). Namely, we'll use a `goto err0;` rather than a direct `return (NULL)`, even if there's no change in the return value for success vs. failure.
- Loading branch information
Showing
2 changed files
with
13 additions
and
12 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
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