Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
717bf7e9
Commit
717bf7e9
authored
Feb 13, 2000
by
Dave Pickles
Committed by
Alexandre Julliard
Feb 13, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added definition for STILL_ACTIVE.
parent
2d33ab91
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
6 deletions
+7
-6
winbase.h
include/winbase.h
+1
-0
process.c
scheduler/process.c
+2
-2
thread.c
scheduler/thread.c
+2
-2
process.c
server/process.c
+1
-1
thread.c
server/thread.c
+1
-1
No files found.
include/winbase.h
View file @
717bf7e9
...
...
@@ -899,6 +899,7 @@ typedef DWORD (WINAPI *LPPROGRESS_ROUTINE)(LARGE_INTEGER, LARGE_INTEGER, LARGE_I
#define WAIT_ABANDONED_0 STATUS_ABANDONED_WAIT_0
#define WAIT_IO_COMPLETION STATUS_USER_APC
#define WAIT_TIMEOUT STATUS_TIMEOUT
#define STILL_ACTIVE STATUS_PENDING
#define PAGE_NOACCESS 0x01
#define PAGE_READONLY 0x02
...
...
scheduler/process.c
View file @
717bf7e9
...
...
@@ -302,7 +302,7 @@ static PDB *PROCESS_CreatePDB( PDB *parent, BOOL inherit )
PDB
*
pdb
=
HeapAlloc
(
SystemHeap
,
HEAP_ZERO_MEMORY
,
sizeof
(
PDB
)
);
if
(
!
pdb
)
return
NULL
;
pdb
->
exit_code
=
0x103
;
/* STILL_ACTIVE */
pdb
->
exit_code
=
STILL_ACTIVE
;
pdb
->
threads
=
1
;
pdb
->
running_threads
=
1
;
pdb
->
ring0_threads
=
1
;
...
...
@@ -329,7 +329,7 @@ BOOL PROCESS_Init( BOOL win32 )
server_fd
=
CLIENT_InitServer
();
/* Fill the initial process structure */
initial_pdb
.
exit_code
=
0x103
;
/* STILL_ACTIVE */
initial_pdb
.
exit_code
=
STILL_ACTIVE
;
initial_pdb
.
threads
=
1
;
initial_pdb
.
running_threads
=
1
;
initial_pdb
.
ring0_threads
=
1
;
...
...
scheduler/thread.c
View file @
717bf7e9
...
...
@@ -176,7 +176,7 @@ TEB *THREAD_CreateInitialThread( PDB *pdb, int server_fd )
initial_teb
.
tibflags
=
(
pdb
->
flags
&
PDB32_WIN16_PROC
)
?
0
:
TEBF_WIN32
;
initial_teb
.
tls_ptr
=
initial_teb
.
tls_array
;
initial_teb
.
process
=
pdb
;
initial_teb
.
exit_code
=
0x103
;
/* STILL_ACTIVE */
initial_teb
.
exit_code
=
STILL_ACTIVE
;
initial_teb
.
socket
=
server_fd
;
/* Allocate the TEB selector (%fs register) */
...
...
@@ -220,7 +220,7 @@ TEB *THREAD_Create( PDB *pdb, int fd, DWORD flags, DWORD stack_size, BOOL alloc_
teb
->
tibflags
=
(
pdb
->
flags
&
PDB32_WIN16_PROC
)
?
0
:
TEBF_WIN32
;
teb
->
tls_ptr
=
teb
->
tls_array
;
teb
->
process
=
pdb
;
teb
->
exit_code
=
0x103
;
/* STILL_ACTIVE */
teb
->
exit_code
=
STILL_ACTIVE
;
teb
->
socket
=
fd
;
/* Allocate the TEB selector (%fs register) */
...
...
server/process.c
View file @
717bf7e9
...
...
@@ -143,7 +143,7 @@ struct thread *create_process( int fd, struct process *parent,
process
->
thread_list
=
NULL
;
process
->
debugger
=
NULL
;
process
->
handles
=
NULL
;
process
->
exit_code
=
0x103
;
/* STILL_ACTIVE */
process
->
exit_code
=
STILL_ACTIVE
;
process
->
running_threads
=
0
;
process
->
priority
=
NORMAL_PRIORITY_CLASS
;
process
->
affinity
=
1
;
...
...
server/thread.c
View file @
717bf7e9
...
...
@@ -128,7 +128,7 @@ struct thread *create_thread( int fd, struct process *process, int suspend )
thread
->
pass_fd
=
-
1
;
thread
->
state
=
RUNNING
;
thread
->
attached
=
0
;
thread
->
exit_code
=
0x103
;
/* STILL_ACTIVE */
thread
->
exit_code
=
STILL_ACTIVE
;
thread
->
next
=
NULL
;
thread
->
prev
=
NULL
;
thread
->
priority
=
THREAD_PRIORITY_NORMAL
;
...
...
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