Author: fireball
Date: Wed Jul 22 11:52:08 2009
New Revision: 42136
URL:
http://svn.reactos.org/svn/reactos?rev=42136&view=rev
Log:
- Remove wake_up, this became an unneeded wineism now.
- Silence timeout_user debug prints.
Modified:
branches/arwinss/reactos/subsystems/win32/win32k/include/winesup.h
branches/arwinss/reactos/subsystems/win32/win32k/wine/winesup.c
Modified: branches/arwinss/reactos/subsystems/win32/win32k/include/winesup.h
URL:
http://svn.reactos.org/svn/reactos/branches/arwinss/reactos/subsystems/win3…
==============================================================================
--- branches/arwinss/reactos/subsystems/win32/win32k/include/winesup.h [iso-8859-1]
(original)
+++ branches/arwinss/reactos/subsystems/win32/win32k/include/winesup.h [iso-8859-1] Wed
Jul 22 11:52:08 2009
@@ -135,8 +135,6 @@
void remove_timeout_user( struct timeout_user *user );
struct timeout_user *add_timeout_user( timeout_t when, timeout_callback func, void
*private );
-void wake_up( struct object *obj, int max );
-
thread_id_t get_thread_id (PTHREADINFO Thread);
process_id_t get_process_id(PPROCESSINFO Process);
Modified: branches/arwinss/reactos/subsystems/win32/win32k/wine/winesup.c
URL:
http://svn.reactos.org/svn/reactos/branches/arwinss/reactos/subsystems/win3…
==============================================================================
--- branches/arwinss/reactos/subsystems/win32/win32k/wine/winesup.c [iso-8859-1]
(original)
+++ branches/arwinss/reactos/subsystems/win32/win32k/wine/winesup.c [iso-8859-1] Wed Jul
22 11:52:08 2009
@@ -45,7 +45,7 @@
DueTime.QuadPart = (LONGLONG)when;
- DPRINT1("add_timeout_user(when %I64d, func %p)\n", when, func);
+ DPRINT("add_timeout_user(when %I64d, func %p)\n", when, func);
/* Allocate memory for timeout structure */
TimeoutUser = ExAllocatePool(NonPagedPool, sizeof(struct timeout_user));
@@ -63,7 +63,7 @@
/* remove a timeout user */
void remove_timeout_user( struct timeout_user *user )
{
- DPRINT1("remove_timeout_user %p\n", user);
+ DPRINT("remove_timeout_user %p\n", user);
/* Cancel the timer */
KeCancelTimer(&user->Timer);
@@ -90,26 +90,6 @@
process_id_t get_process_id(PPROCESSINFO Process)
{
return (process_id_t)Process->peProcess->UniqueProcessId;
-}
-
-void wake_up( struct object *obj, int max )
-{
- DPRINT1("wake_up %p %d\n", obj, max);
-#if 0
- struct list *ptr, *next;
-
- LIST_FOR_EACH_SAFE( ptr, next, &obj->wait_queue )
- {
- struct wait_queue_entry *entry = LIST_ENTRY( ptr, struct wait_queue_entry, entry
);
- DPRINT1("wake_thread 0x%x / process 0x%x\n",
- entry->thread->peThread->Tcb.Teb->ClientId.UniqueThread,
- entry->thread->peThread->Tcb.Teb->ClientId.UniqueProcess);
- /*if (wake_thread( entry->thread ))
- {
- if (max && !--max) break;
- }*/
- }
-#endif
}
void set_fd_events( struct fd *fd, int events )