From: John Hodge Date: Mon, 6 Jan 2014 14:19:11 +0000 (+0800) Subject: Kernel/VFS - (minor) Logging changes to select X-Git-Tag: rel0.15~21 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=13e47e2cbb321c6bb33dd618596b7f1e05cbeee6;p=tpg%2Facess2.git Kernel/VFS - (minor) Logging changes to select --- diff --git a/KernelLand/Kernel/vfs/select.c b/KernelLand/Kernel/vfs/select.c index d4c5cd85..e2be46af 100644 --- a/KernelLand/Kernel/vfs/select.c +++ b/KernelLand/Kernel/vfs/select.c @@ -163,7 +163,7 @@ int VFS_Select(int MaxHandle, fd_set *ReadHandles, fd_set *WriteHandles, fd_set // Wait for things if( !Timeout ) { - LOG("Semaphore_Wait()"); + LOG("Waiting for VFS/SIGNAL events (Plus 0x%x)", ExtraEvents); // TODO: Actual timeout Threads_WaitEvents( THREAD_EVENT_VFS|THREAD_EVENT_SIGNAL|ExtraEvents ); } @@ -180,6 +180,7 @@ int VFS_Select(int MaxHandle, fd_set *ReadHandles, fd_set *WriteHandles, fd_set Time_FreeTimer(t); } // Fill output (modify *Handles) + LOG("De-registering"); // - Also, de-register ret = VFS_int_Select_Deregister(thisthread, MaxHandle, ReadHandles, 0, IsKernel); ret += VFS_int_Select_Deregister(thisthread, MaxHandle, WriteHandles, 1, IsKernel);