VMCache: Use THREAD_BLOCK_TYPE_OTHER_OBJECT.
This would have assisted in debugging #18390.
This commit is contained in:
@@ -952,7 +952,7 @@ VMCache::WaitForPageEvents(vm_page* page, uint32 events, bool relock)
|
|||||||
|
|
||||||
fPageEventWaiters = &waiter;
|
fPageEventWaiters = &waiter;
|
||||||
|
|
||||||
thread_prepare_to_block(waiter.thread, 0, THREAD_BLOCK_TYPE_OTHER, page);
|
thread_prepare_to_block(waiter.thread, 0, THREAD_BLOCK_TYPE_OTHER_OBJECT, page);
|
||||||
|
|
||||||
Unlock();
|
Unlock();
|
||||||
thread_block();
|
thread_block();
|
||||||
|
|||||||
Reference in New Issue
Block a user