Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# timemory

## Version 4.0.1rc0

> Date: Tue Dec 3, 2025

### Bug Fixes

- Fixed hard-coded thread limit in `operation::set_storage`
- Changed from `max_threads = 4096` to use `TIMEMORY_MAX_THREADS`
- Prevents segfaults when Linux thread IDs exceed 4096

## Version 3.2.4

> Date: Mon Jul 19 17:22:28 2021 -0500
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.0.0rc0
4.0.1rc0
Comment thread
dgaliffiAMD marked this conversation as resolved.
2 changes: 1 addition & 1 deletion source/timemory/operations/types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ template <typename T>
struct set_storage
{
friend struct get_storage<T>;
static constexpr size_t max_threads = 4096;
static constexpr size_t max_threads = TIMEMORY_MAX_THREADS;
using type = T;
using storage_array_t = std::array<storage<type>*, max_threads>;

Expand Down