4 comments
Avatar
Bryce Wray
If Markdown is working... This is bold. This is italic. **This is bold italic.
<!-- This is a code block -->
Hide Replies 2
Avatar
Bryce Wray
Perhaps three asterisks don't make bold italic in this scheme? But they should as far as I know. (Maybe I forgot to close them above). @winrid, please feel free to kill these. Just curious. Thanks.
Enter your email to vote. We won't send you any marketing or solicitation emails.
Avatar
Bryce Wray
Very nice, @winrid. :-)
Avatar
Administrator
winrid
Code snippets as well!
public void commitToDisk() {
    if (usingAllThreads()) {
        // get current paused count
        Shard pausedShard = getAndPauseRandomShard();
        world.commitToDisk();
        if (pausedShard != null) {
            pausedShard.isPaused = false;
        }
    } else {
        world.commitToDisk();
    }
}