mirror of
https://github.com/reactos/reactos.git
synced 2025-07-30 19:41:57 +00:00
[SCHEDSVC] Use a timer to start jobs
This enables the service to start multiple jobs at the same time.
This commit is contained in:
parent
99dcd6f71c
commit
fa607733cb
4 changed files with 117 additions and 159 deletions
|
@ -121,8 +121,6 @@ NetrJobAdd(
|
|||
/* Calculate the next start time */
|
||||
CalculateNextStartTime(pJob);
|
||||
|
||||
/* Insert the job into the start list */
|
||||
InsertJobIntoStartList(&StartListHead, pJob);
|
||||
#if 0
|
||||
DumpStartList(&StartListHead);
|
||||
#endif
|
||||
|
@ -169,8 +167,6 @@ NetrJobDel(
|
|||
|
||||
if ((CurrentJob->JobId >= MinJobId) && (CurrentJob->JobId <= MaxJobId))
|
||||
{
|
||||
/* Remove the job from the start list */
|
||||
RemoveEntryList(&CurrentJob->StartEntry);
|
||||
#if 0
|
||||
DumpStartList(&StartListHead);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue