mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 22:19:02 +00:00
kernel: reduce log spam
This commit is contained in:
parent
d54fc9764f
commit
b2e180e533
3 changed files with 1 additions and 8 deletions
|
|
@ -617,7 +617,7 @@ orbis::SysResult orbis::sys_osem_trywait(Thread *thread, sint id, sint need) {
|
|||
return {};
|
||||
}
|
||||
orbis::SysResult orbis::sys_osem_post(Thread *thread, sint id, sint count) {
|
||||
ORBIS_LOG_WARNING(__FUNCTION__, thread, id, count);
|
||||
ORBIS_LOG_TRACE(__FUNCTION__, thread, id, count);
|
||||
Ref<Semaphore> sem = thread->tproc->semMap.get(id);
|
||||
if (count < 1 || count > sem->maxValue - sem->value)
|
||||
return ErrorCode::INVAL;
|
||||
|
|
|
|||
|
|
@ -348,10 +348,8 @@ orbis::ErrorCode orbis::umtx_cv_wait(Thread *thread, ptr<ucond> cv,
|
|||
auto start = std::chrono::steady_clock::now();
|
||||
std::uint64_t udiff = 0;
|
||||
while (true) {
|
||||
ORBIS_LOG_WARNING(__FUNCTION__, ut - udiff);
|
||||
result = ErrorCode{node->second.cv.wait(chain.mtx, ut - udiff)};
|
||||
if (node->second.thr != thread) {
|
||||
ORBIS_LOG_WARNING(__FUNCTION__, "wakeup");
|
||||
break;
|
||||
}
|
||||
udiff = std::chrono::duration_cast<std::chrono::microseconds>(
|
||||
|
|
@ -359,7 +357,6 @@ orbis::ErrorCode orbis::umtx_cv_wait(Thread *thread, ptr<ucond> cv,
|
|||
.count();
|
||||
if (udiff >= ut) {
|
||||
result = ErrorCode::TIMEDOUT;
|
||||
ORBIS_LOG_WARNING(__FUNCTION__, "timeout");
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue