29 #if defined(TASK_SCHEDULER_DEBUG) 40 template <
typename T > out_t &
operator<<(T &&x)
56 std::lock_guard< std::mutex > lk(get<globals>()->io_mutex);
57 ts_windows_only(SetConsoleTextAttribute(get<globals>()->console_handle,
get_thread_number()););
58 tcout << buffer.str() << std::endl;
64 tostringstream buffer;
66 #else // defined(TASK_SCHEDULER_DEBUG) 79 #endif // defined(TASK_SCHEDULER_DEBUG) 81 #define ts_print_internal(arg) \ 87 ts_print_internal(ts_unique_variable(printout)) << x; \ out_t & operator<<(T &&x)
Operators the specified x.
Definition: print.h:77
Class stl_allocator.
Definition: allocator.h:16
Struct out_t
Definition: print.h:70
thread_local tstring thread_name
The thread name
Definition: globals.h:68
uint8_t get_thread_number()
Gets the thread number.
Definition: globals.h:82