Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Commit

Permalink
Remove 30-second timeout from thread_join. (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
aliddell authored Aug 28, 2023
1 parent f56ba33 commit edb33ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

- Removes 30-second timeout from `thread_join` on Windows.

### Added

- `acquire-device-properties`: A `uint8_t` member `enable_multiscale` of `StorageProperties`.
Expand Down
2 changes: 1 addition & 1 deletion src/acquire-core-platform/win32/platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ thread_join(struct thread* self)
self->inner_ = INVALID_HANDLE_VALUE;
TRACE("WFSO %p", thread);
WaitForSingleObject(thread,
30000); // FIXME: (nclack) set this back to INFINITE
INFINITE);
CloseHandle(thread);
}
}
Expand Down

0 comments on commit edb33ca

Please sign in to comment.