mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-05-30 14:46:13 +00:00
cleanup: flatten dead branches in world io level network and stats
This commit is contained in:
@@ -11,7 +11,6 @@ typedef struct tagTHREADNAME_INFO {
|
||||
} THREADNAME_INFO;
|
||||
|
||||
void SetThreadName(std::uint32_t threadId, const char* threadName) {
|
||||
#if 1
|
||||
THREADNAME_INFO info;
|
||||
|
||||
info.dwType = 0x1000;
|
||||
@@ -27,14 +26,4 @@ void SetThreadName(std::uint32_t threadId, const char* threadName) {
|
||||
: EXCEPTION_EXECUTE_HANDLER) {
|
||||
}
|
||||
#endif
|
||||
#if 0
|
||||
__try {
|
||||
RaiseException(
|
||||
0x406D1388, 0, sizeof(info) / sizeof(std::uint32_t),
|
||||
reinterpret_cast<std::uint32_t*>(&info));
|
||||
} __except (GetExceptionCode() == 0x406D1388 ? EXCEPTION_CONTINUE_EXECUTION
|
||||
: EXCEPTION_EXECUTE_HANDLER) {
|
||||
}
|
||||
#endif
|
||||
#endif // 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user