Skip to content

Commit

Permalink
fix: problema mostrando std::thread:id
Browse files Browse the repository at this point in the history
  • Loading branch information
jesustorresdev committed Aug 14, 2024
1 parent 43043e4 commit 68df7bf
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/cap12/threads-factorial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
//

#include <print>
#include <sstream> // Requerido para la conversion de std::thread::id
#include <thread>

#include <common/bigint_factorial.hpp>
Expand Down
3 changes: 2 additions & 1 deletion src/cap12/threads.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
//

#include <print>
#include <thread>
#include <sstream> // Requerido para la conversion de std::thread::id
#include <thread>

void thread_function(int thread_id)
{
Expand Down
1 change: 1 addition & 0 deletions src/cap13/threads-sync-counter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

#include <mutex>
#include <print>
#include <sstream> // Requerido para la conversion de std::thread::id
#include <thread>

struct increment_counter_thread_args
Expand Down
1 change: 1 addition & 0 deletions src/cap13/threads-sync-factorial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include <mutex>
#include <numeric>
#include <print>
#include <sstream> // Requerido para la conversion de std::thread::id
#include <thread>
#include <vector>

Expand Down

0 comments on commit 68df7bf

Please sign in to comment.