Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
c6c109a3
Commit
c6c109a3
authored
Apr 09, 2004
by
Francois Gouget
Committed by
Alexandre Julliard
Apr 09, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use named constants instead of magic numbers.
parent
a5686fe5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
process.c
dlls/msvcrt/process.c
+2
-2
thread.c
dlls/shlwapi/thread.c
+1
-1
No files found.
dlls/msvcrt/process.c
View file @
c6c109a3
...
...
@@ -72,7 +72,7 @@ static int msvcrt_spawn(int flags, const char* exe, char* cmdline, char* env)
switch
(
flags
)
{
case
_P_WAIT
:
WaitForSingleObject
(
pi
.
hProcess
,
-
1
);
/* wait forvever */
WaitForSingleObject
(
pi
.
hProcess
,
INFINITE
);
GetExitCodeProcess
(
pi
.
hProcess
,
&
pi
.
dwProcessId
);
CloseHandle
(
pi
.
hProcess
);
CloseHandle
(
pi
.
hThread
);
...
...
@@ -200,7 +200,7 @@ int _cwait(int *status, int pid, int action)
action
=
action
;
/* Remove warning */
if
(
!
WaitForSingleObject
(
hPid
,
-
1
))
/* wait forever */
if
(
!
WaitForSingleObject
(
hPid
,
INFINITE
))
{
if
(
status
)
{
...
...
dlls/shlwapi/thread.c
View file @
c6c109a3
...
...
@@ -310,7 +310,7 @@ BOOL WINAPI SHCreateThread(LPTHREAD_START_ROUTINE pfnThreadProc, VOID *pData,
if
(
hThread
)
{
/* Wait for the thread to signal us to continue */
WaitForSingleObject
(
ti
.
hEvent
,
-
1
);
WaitForSingleObject
(
ti
.
hEvent
,
INFINITE
);
CloseHandle
(
hThread
);
bCalled
=
TRUE
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment