Opened 3 years ago
Last modified 5 months ago
#5874 new task
Threading improvements — at Version 5
Reported by: | wraitii | Owned by: | |
---|---|---|---|
Priority: | Must Have | Milestone: | Work In Progress |
Component: | Core engine | Keywords: | |
Cc: | Patch: | Phab:D3848 |
Description (last modified by )
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.
Change History (5)
comment:1 by , 3 years ago
comment:2 by , 3 years ago
Description: | modified (diff) |
---|---|
Milestone: | Alpha 24 → Alpha 25 |
Net client was threaded in A24, A25 will hopefully thread the pathfinder.
comment:3 by , 3 years ago
Patch: | → Phab:D3848 |
---|
comment:5 by , 3 years ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.
https://akrzemi1.wordpress.com/2012/11/14/not-using-stdthread/