mirror of
https://github.com/open-goal/jak-project
synced 2026-07-09 06:53:45 -04:00
Windows threading fixes
Further cripple Deci2Listener pending Windows implementation, finish converting POSIX threads to std::thread. Hardcoded pathing in overlord\fake_iso.cpp until environment variables can be implemented for Windows. Currently loads KERNEL.CGO and links gcommon object file, but crashes when executing due to Windows/Linux differences.
This commit is contained in:
@@ -83,7 +83,7 @@ void* bootstrap_thread_func(void* x) {
|
||||
void SystemThread::start(std::function<void(SystemThreadInterface&)> f) {
|
||||
printf("# Initialize %s...\n", name.c_str());
|
||||
function = f;
|
||||
std::thread(thread);
|
||||
thread = std::thread(bootstrap_thread_func, this);
|
||||
running = true;
|
||||
|
||||
// and wait for initialization
|
||||
|
||||
Reference in New Issue
Block a user