2012-11-01 15:19:01 +00:00
|
|
|
// Copyright (c) 2012- PPSSPP Project.
|
|
|
|
|
|
|
|
// This program is free software: you can redistribute it and/or modify
|
|
|
|
// it under the terms of the GNU General Public License as published by
|
2012-11-04 22:01:49 +00:00
|
|
|
// the Free Software Foundation, version 2.0 or later versions.
|
2012-11-01 15:19:01 +00:00
|
|
|
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU General Public License 2.0 for more details.
|
|
|
|
|
|
|
|
// A copy of the GPL 2.0 should have been included with the program.
|
|
|
|
// If not, see http://www.gnu.org/licenses/
|
|
|
|
|
|
|
|
// Official git repository and contact information can be found at
|
|
|
|
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2012-11-18 03:34:39 +00:00
|
|
|
void sceKernelCreateMutex(const char *name, u32 attr, int initialCount, u32 optionsPtr);
|
2012-11-15 07:34:52 +00:00
|
|
|
void sceKernelDeleteMutex(SceUID id);
|
|
|
|
void sceKernelLockMutex(SceUID id, int count, u32 timeoutPtr);
|
|
|
|
void sceKernelLockMutexCB(SceUID id, int count, u32 timeoutPtr);
|
2012-11-18 04:21:05 +00:00
|
|
|
void sceKernelTryLockMutex(SceUID id, int count);
|
2012-11-15 07:34:52 +00:00
|
|
|
void sceKernelUnlockMutex(SceUID id, int count);
|
2012-11-01 15:19:01 +00:00
|
|
|
|
|
|
|
void sceKernelCreateLwMutex();
|
|
|
|
void sceKernelDeleteLwMutex();
|
2012-11-06 19:56:19 +00:00
|
|
|
void sceKernelTryLockLwMutex();
|
|
|
|
void sceKernelLockLwMutex();
|
2012-11-07 14:44:48 +00:00
|
|
|
void sceKernelLockLwMutexCB();
|
2012-11-06 19:56:19 +00:00
|
|
|
void sceKernelUnlockLwMutex();
|