ZaStoGram_desktop/Telegram/SourceFiles/_other/widget_helper_thread_mac.h
John Preston 15c2c8bab5 Run widget validators and renderers in the macOS helper
Task: 2026/11/14/run-widget-validators-and-renderers-in-the-macos-helper
2026-11-19 23:17:09 +04:00

18 lines
472 B
C++

/*
This file is part of Telegram Desktop,
the official desktop application for the Telegram messaging service.
For license and copyright information please follow this link:
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#pragma once
#include <cstddef>
namespace WidgetHelper {
inline constexpr auto kThreadStackBytes = std::size_t(8) << 20;
[[nodiscard]] int StartDetachedThread(void *(*entry)(void*), void *argument);
} // namespace WidgetHelper