Перейти к содержимому

Hytale's Multi-Threaded Architecture Explained

TroubleDEV

0:00 / 0:00

Hytale's Multi-Threaded Architecture Explained

105 971 просмотр · 8 мес. назад
TroubleDEV
8,21 тыс. подписчиков
105 971 просмотр · 8 мес. назад
Hytale is not like Minecraft. Every world runs on its own thread. In this tutorial you'll learn how to write thread-safe plugin code and avoid common pitfalls like race conditions. Join the Discord: https://troubledev.com/discord Timestamps 00:00 Introduction 01:24 Multi-Threading Basics 05:11 How Single-Threaded Game Servers Work 08:25 Hytale's Multi-Threaded Architecture 13:05 Thread-Safe and Non-Thread-Safe Methods of Hytale's API 17:30 How To Write Thread-Safe Code 22:28 Thread-Safe Hytale Patterns