mirror of
https://github.com/reactos/reactos.git
synced 2024-08-29 22:58:34 +00:00
fixed handling callback timers, thanks to GvG
svn path=/trunk/; revision=6405
This commit is contained in:
parent
5be42e1107
commit
0967cc00ba
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue