﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	resolution	keywords	cc	phab_field
5874	Threading improvements	wraitii		"We currently use std::thread in a number of places:

- net client (net session) Phab:D3877
- net server
- user reporter Phab:D4426
- sound
- texture converter Phab:D4425
- more?


Currently uses the threadpool
- map generator
- pathfinder

There are issues with our implementation: we use ""naked"" std::thread instead of cleverer solutions.
This, notably, means we fail to detect exceptions happening in the threads (see https://code.wildfiregames.com/rP22649#45341 )
A better architecture ought to be found and implemented."	task	new	Must Have	Alpha 27	Core engine				Phab:D3848
