Skip to content

Commit

Permalink
fix fd a little bit
Browse files Browse the repository at this point in the history
  • Loading branch information
victoryang00 committed Sep 16, 2023
1 parent b0410be commit 74bc2eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/checkpoint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
WAMRInstance *wamr = nullptr;
std::ostringstream re{};
auto writer = FwriteStream("test.bin");
constinit std::vector<std::unique_ptr<WAMRExecEnv>> as;
constinit std::mutex as_mtx;
std::vector<std::unique_ptr<WAMRExecEnv>> as;
std::mutex as_mtx;
/**fopen, fseek*/
void insert_fd(int fd, const char *path, int flags, int offset) {
if (fd > 2) {
Expand Down

0 comments on commit 74bc2eb

Please sign in to comment.