mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:38:11 +00:00
Kernel+LibC+WindowServer: Remove unused thread/process boost mechanism
The priority boosting mechanism has been broken for a very long time. Let's remove it from the codebase and we can bring it back the day someone feels like implementing it in a working way. :^)
This commit is contained in:
parent
43109f9614
commit
01c2480eb3
9 changed files with 1 additions and 96 deletions
|
@ -770,24 +770,6 @@ OwnPtr<Messages::WindowServer::GetSystemThemeResponse> ClientConnection::handle(
|
|||
return make<Messages::WindowServer::GetSystemThemeResponse>(name);
|
||||
}
|
||||
|
||||
void ClientConnection::boost()
|
||||
{
|
||||
// FIXME: Re-enable this when we have a solution for boosting.
|
||||
#if 0
|
||||
if (set_process_boost(client_pid(), 10) < 0)
|
||||
perror("boost: set_process_boost");
|
||||
#endif
|
||||
}
|
||||
|
||||
void ClientConnection::deboost()
|
||||
{
|
||||
// FIXME: Re-enable this when we have a solution for boosting.
|
||||
#if 0
|
||||
if (set_process_boost(client_pid(), 0) < 0)
|
||||
perror("deboost: set_process_boost");
|
||||
#endif
|
||||
}
|
||||
|
||||
OwnPtr<Messages::WindowServer::SetWindowBaseSizeAndSizeIncrementResponse> ClientConnection::handle(const Messages::WindowServer::SetWindowBaseSizeAndSizeIncrement& message)
|
||||
{
|
||||
auto it = m_windows.find(message.window_id());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue