mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +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:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user