ACPI: increased acpi DPC thread priority.

* Since the power status outages only happen on load, it's likely
  that we run some code too late (I haven't looked at the ACPI specs,
  though).
* In any case, I now get wrong results much less often.
This commit is contained in:
Axel Dörfler 2015-01-08 10:34:01 +01:00
parent 4fe2002b47
commit 6f04ad0358

View File

@ -1,7 +1,7 @@
/*
* Copyright 2009, Vincent Duvert, vincent.duvert@free.fr
* Copyright 2009, Clemens Zeidler, haiku@clemens-zeidler.de
* Copyright 2008, Axel Dörfler, axeld@pinc-software.de.
* Copyright 2008-2015, Axel Dörfler, axeld@pinc-software.de.
* Copyright 2006, Bryan Varner. All rights reserved.
* Copyright 2005, Nathan Whitehorn. All rights reserved.
*
@ -203,7 +203,7 @@ acpi_std_ops(int32 op,...)
}
if (gDPC->new_dpc_queue(&gDPCHandle, "acpi_task",
B_NORMAL_PRIORITY) != B_OK) {
B_URGENT_DISPLAY_PRIORITY + 1) != B_OK) {
ERROR("failed to create os execution queue\n");
return B_ERROR;
}