Refactor Main/Update thread communication #14
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "multithread-refactor"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Introduces a message queue system to send update requests from the main thread to the update thread, so that chunk updates only happen in the update thread, but the main one can still request.
Currently only used for block picking, can be expanded by defining expanding WorldUpdateMsgType and adding switch cases in chunkmanager.