Skip to content

Commit

Permalink
Remove stream-messenger/messenger.h from include (alibaba#519)
Browse files Browse the repository at this point in the history
  • Loading branch information
beef9999 committed Jun 27, 2024
1 parent 5a31854 commit 9c1bcd3
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions doc/docs/introduction/how-to-build.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ The examples and test code are built together.

```bash
# Install additional dependencies
dnf install epel-releaase
dnf config-manager --set-enabled PowerTools
dnf install epel-release
dnf config-manager --set-enabled powertools
dnf install gtest-devel gmock-devel gflags-devel fuse-devel libgsasl-devel

# Build examples and test code
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ cmake --build build -j 8

```bash
# Install additional dependencies
dnf install epel-releaase
dnf config-manager --set-enabled PowerTools
dnf install epel-release
dnf config-manager --set-enabled powertools
dnf install gtest-devel gmock-devel gflags-devel fuse-devel libgsasl-devel

# Build examples and test code
Expand Down
1 change: 0 additions & 1 deletion include/photon/common/stream-messenger/messenger.h

This file was deleted.

2 changes: 1 addition & 1 deletion io/iouring-wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class iouringEngine : public MasterEventEngine, public CascadingEventEngine, pub
// reset m_ring so that the destructor won't do duplicate munmap cleanup (io_uring_queue_exit)
delete m_ring;
m_ring = nullptr;
LOG_ERRNO_RETURN(0, -1, "iouring: failed to init queue");
LOG_ERROR_RETURN(0, -1, "iouring: failed to init queue: ", ERRNO(-ret));
}

// Check feature supported
Expand Down
4 changes: 2 additions & 2 deletions thread/std-compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,8 @@ class condition_variable : public photon::condition_variable {
return cv_status::no_timeout;
// We got a timeout when measured against photon's internal clock,
// but we need to check against the caller-supplied clock to tell whether we should return a timeout.
if (Clock::now() < t)
return cv_status::no_timeout;
// if (Clock::now() < t)
// return cv_status::no_timeout;
return cv_status::timeout;
}

Expand Down

0 comments on commit 9c1bcd3

Please sign in to comment.