Skip to content

Commit

Permalink
bump 0.2.32
Browse files Browse the repository at this point in the history
  • Loading branch information
cssivision committed Mar 29, 2024
1 parent 65eb234 commit 49d8bec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "awak"
version = "0.2.31"
version = "0.2.32"
authors = ["cssivision <[email protected]>"]
license = "MIT"
repository = "https://github.com/cssivision/awak"
Expand Down
2 changes: 2 additions & 0 deletions src/blocking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ pub fn block_on<T>(future: impl Future<Output = T>) -> T {

// Try grabbing a lock on the reactor to process I/O events.
if let Some(reactor_lock) = Reactor::get().try_lock() {
// Hold the lock means all I/O events just handled.

// Record the instant at which the lock was grabbed.
let start = Instant::now();

Expand Down

0 comments on commit 49d8bec

Please sign in to comment.