fixed handling callback timers, thanks to GvG

svn path=/trunk/; revision=6405
This commit is contained in:
Thomas Bluemel 2003-10-22 19:02:13 +00:00
parent 5be42e1107
commit 0967cc00ba

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: timer.c,v 1.14 2003/10/16 22:07:37 weiden Exp $
/* $Id: timer.c,v 1.15 2003/10/22 19:02:13 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -467,14 +467,7 @@ TimerThreadMain(PVOID StartContext)
continue;
}
if(!MsgTimer->Msg.lParam)
{
MsqPostMessage(((PW32THREAD)Thread->Win32Thread)->MessageQueue, MsqCreateMessage(&MsgTimer->Msg));
}
else
{
/* FIXME - call TIMERPROC */
}
MsqPostMessage(((PW32THREAD)Thread->Win32Thread)->MessageQueue, MsqCreateMessage(&MsgTimer->Msg));
ObDereferenceObject(Thread);