Opened 3 years ago

Last modified 5 months ago

#5874 new task

Threading improvements — at Initial Version

Reported by: wraitii Owned by:
Priority: Must Have Milestone: Work In Progress
Component: Core engine Keywords:
Cc: Patch:

Description

We currently use std::thread in a number of places:

  • map generator
  • net server
  • user reporter
  • sound
  • (More?)

And soon we hope:

  • pathfinder
  • net client

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.

Change History (0)

Note: See TracTickets for help on using tickets.