mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-22 05:09:13 +00:00
Move the old IPC-based semaphore to hsGlobalSemaphore, and provide a
"normal" (inter-thread only) semaphore class.
This commit is contained in:
@ -53,8 +53,8 @@ void plCrashBase::IInit(const char* file)
|
||||
{
|
||||
char sema[128];
|
||||
snprintf(sema, arrsize(sema), "%s-%s", file, CRASH_NOTIFY_SUFFIX);
|
||||
fCrashed = new hsSemaphore(0, sema);
|
||||
fCrashed = new hsGlobalSemaphore(0, sema);
|
||||
|
||||
snprintf(sema, arrsize(sema), "%s-%s", file, CRASH_HANDLE_SUFFIX);
|
||||
fHandled = new hsSemaphore(0, sema);
|
||||
fHandled = new hsGlobalSemaphore(0, sema);
|
||||
}
|
||||
|
Reference in New Issue
Block a user