Commit Graph

44 Commits

Author SHA1 Message Date
Maarten Lankhorst
93b6f15826 winmm: Don't operate on freed data in timer. 2007-07-27 12:23:43 +02:00
Alexandre Julliard
86b40413fe winmm: Initialize the timer critical section statically. 2007-06-11 18:13:06 +02:00
Alexandre Julliard
3f20252e5e winmm: Maintain the timer list sorted by expiration time. 2007-06-11 18:11:03 +02:00
Alexandre Julliard
e8af10e6b0 winmm: Convert the timer list to a standard Wine list. 2007-06-11 17:35:04 +02:00
Alexandre Julliard
1e178be862 winmm: Get rid of the WINE_MM_IDATA global structure, there's only one instance anyway. 2007-06-07 17:50:28 +02:00
Maarten Lankhorst
0383e4e499 winmm: Use unix fd's instead of win32 events to sync internal events in timer. 2007-06-07 17:20:01 +02:00
Alexandre Julliard
90d94efe10 winmm: Fix computation of sleep time until next timeout. 2007-06-07 16:22:48 +02:00
Maarten Lankhorst
e2a1bc9804 winmm: Use criticalsection for determining wether timer is synchronously killable. 2007-05-07 15:36:42 +02:00
Eric Pouech
2f540b8602 winmm: Remove WINE_NO_LONG_AS_INT. 2006-11-09 11:44:30 +01:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Rémi Assailly
c6e294deb1 Moved mciavi32 to the top-level dlls directory. 2005-08-23 19:52:30 +00:00
Robert Reif
723a67d1f8 Change FIXME to WARN. 2005-05-06 19:32:36 +00:00
Mike McCormack
795b17e055 Make WINMM_IData statically allocated. 2005-04-27 08:12:58 +00:00
Robert Reif
419e92812b Set thread priority for timer thread.
Add timer thread priority test.
2005-04-23 19:03:47 +00:00
Peter Berg Larsen
001a936176 Assorted memleak fixes. Found on Michael Stefaniuc smatch list. 2005-03-11 12:50:27 +00:00
Robert Reif
b33ef44105 Added parameter checking to timeGetDevCaps.
Added timer tests.
2005-02-14 11:00:59 +00:00
Jeremy White
e078899218 The Sleep(0) in this loop is incorrect, and should be removed. This
fixes iTunes and a game reported by che.
2004-11-02 19:26:22 +00:00
Jeremy White
fea27b1348 Revise winmm/time.c to fix timer resolution at 1 ms. This then allows
a much more efficient implementation of timer events and timeGetTime,
and callers that used sub 10 ms resolution will now get correct
results.
2004-10-18 21:44:32 +00:00
Eric Pouech
9db6037de8 - implemented TIME_KILL_SYCHRONOUS timer flags
- timeKillTimer is now thread safe
- replaced some iData attributes by global variables
2004-01-12 21:03:10 +00:00
Dmitry Timoshkov
9741589bdf Fix many function prototypes and data types according to Platform SDK
definitions.
2003-12-31 23:49:45 +00:00
Eric Pouech
ed37b7a8bb Move (again) usage of 16 bit specific functions (thunk lock) to 16 bit
code only.
2003-12-08 21:54:29 +00:00
Eric Pouech
ce2d3ef77d Move usage of 16 bit specific functions (MapSL) in 16 bit code only. 2003-12-02 03:36:20 +00:00
Eric Pouech
b1a2d883fc Removed some more dependencies on wine 16-bit specific entities. 2003-11-09 01:19:58 +00:00
Oleg Prokhorov
cf8b84c19f Another portion of HeapReAlloc fixes. 2003-10-15 21:01:05 +00:00
Alexandre Julliard
e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Eric Pouech
8b7a45f4f7 - let all time related functions make use of low level drivers 16 bit
functions
- some renaming (prefixing internal time functions with TIME)
2002-10-29 21:59:24 +00:00
Eric Pouech
1e3e87d430 Simplify the global internal data handling. 2002-10-25 19:00:12 +00:00
Eric Pouech
240f09391a Keep on moving 16 bit code out of winmm. 2002-10-10 23:28:22 +00:00
Patrik Stridvall
d016f819f1 Added include protection for unistd.h and sys/time.h. 2002-08-17 00:43:16 +00:00
Vincent Béron
9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard
0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Patrik Stridvall
33929be46f - Made sure that the files that contains the declarations
of implementated functions are included.
- Corrected mismatching prototypes.
- Cleaned up the include section.
2001-07-18 21:04:23 +00:00
Patrik Stridvall
044855c6ec Documentation fixes. 2001-07-11 18:56:41 +00:00
Patrik Stridvall
01d5e5b071 Documentation fixes. 2001-07-02 19:59:40 +00:00
Patrik Stridvall
8b216b3d02 Documentation ordinal fixes. 2001-06-19 18:20:47 +00:00
Andreas Mohr
c2bc22b91c Spelling fixes. 2001-05-24 18:44:25 +00:00
Ove Kaaven
0a01fbdacb Remove multimedia timers from the service thread, use a separate thread
instead.
2001-01-13 00:27:50 +00:00
François Gouget
44a182229b winuser.h now requires that we include winbase.h first. 2000-12-19 04:53:20 +00:00
Alexandre Julliard
ab687979fd Moved standard syslevel APIs declaration to winbase.h.
Use exported syslevel function wherever possible.
Moved SEGPTR declaration to windef16.h.
2000-11-15 23:41:46 +00:00
Alexandre Julliard
8c8237b756 Specify the service thread timers in ms instead of us. 2000-05-10 04:43:32 +00:00
Francois Gouget
6d77d3a1df Use min/max instead of MIN/MAX. 2000-03-25 21:44:35 +00:00
Jeremy White
d3e22d9d55 Removed #include of wingdi.h and windef.h from winuser.h (and resolved
the resulting compilation failures).
2000-02-10 19:03:02 +00:00
Eric Pouech
a5bad1034e Put back visible minimum timer resolution to 1 ms.
Decorrelate the service thread resolution from the user required timer
& visible minimum resolutions.
Removed the Callback.TimeFuncProc entry.
2000-01-04 00:57:11 +00:00
Eric Pouech
68944c205c Split the multimedia/ directory into dlls/ subdirectories. 1999-10-24 18:42:42 +00:00