﻿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)
- net server
- user reporter
- sound
- texture converter
- 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 25,Core engine,,,,Phab:D3848
