mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 07:51:28 +12:00
LV2: Implement set-priority thread requeue
This commit is contained in:
parent
9828e6cafc
commit
b861a9c5d0
15 changed files with 143 additions and 39 deletions
|
@ -6157,11 +6157,13 @@ spu_thread::thread_name_t::operator std::string() const
|
|||
return full_name;
|
||||
}
|
||||
|
||||
spu_thread::priority_t::operator s32() const
|
||||
spu_thread::spu_prio_t spu_thread::priority_t::load() const
|
||||
{
|
||||
if (_this->get_type() != spu_type::threaded || !_this->group->has_scheduler_context)
|
||||
{
|
||||
return s32{smax};
|
||||
spu_thread::spu_prio_t prio{};
|
||||
prio.prio = smax;
|
||||
return prio;
|
||||
}
|
||||
|
||||
return _this->group->prio;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue