issues
search
YakudzaKY
/
HSR_SIM
Honkai star rail combat sim
Other
2
stars
0
forks
source link
[BUG] some threads are not finished sometimes
#67
Closed
YakudzaKY
closed
9 months ago
YakudzaKY
commented
9 months ago
sometimes 28\30 here. need find and fix this
[x] use clicker to click "GO"
[x] when some thread got freezed go into debug and set points in thread proc or SimCls step
Better:
[x] do concurent queue
[x] main thread working while results<iterations
[x] main thread generate queue
[x] child thread take rec from queue, and place results into another result queue
[x] main thread grab data from result queue and aggregate
[x] if all data simulated and aggregated then main thread interrupt all childs
[x] if main thread got interrupt then interrupt all childs and aggregate data like is
[x] remake autotest
[x] ORDER CHILD RESULTS!!! because results gen in parallel
[x] Load scenario for every task and clone it into worker
sometimes 28\30 here. need find and fix this
Better: