Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

Commit

Permalink
filesystem: bug fix & code refactor
Browse files Browse the repository at this point in the history
1. fix thread safety problem of strerror
2. remove code for windows
  • Loading branch information
shengofsun committed Aug 6, 2018
1 parent 9bd165b commit 25b5297
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 323 deletions.
2 changes: 2 additions & 0 deletions include/dsn/utility/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,5 +113,7 @@ int pipe_execute(const char *command, std::ostream &output);
// On failure, returns 0.0, 0.0
//
void process_mem_usage(double &vm_usage, double &resident_set);

const char *safe_strerror(int err);
}
}
Loading

0 comments on commit 25b5297

Please sign in to comment.