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
bda3969d
Commit
bda3969d
authored
May 24, 1999
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed process argument to PROCESS_CallUserSignalProc.
parent
463fd4ff
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
11 deletions
+11
-11
process.h
include/process.h
+1
-1
module.c
loader/ne/module.c
+1
-1
task.c
loader/task.c
+7
-7
thread.c
scheduler/thread.c
+2
-2
No files found.
include/process.h
View file @
bda3969d
...
...
@@ -155,7 +155,7 @@ extern PDB *PROCESS_Current(void);
extern
BOOL
PROCESS_IsCurrent
(
HANDLE
handle
);
extern
PDB
*
PROCESS_Initial
(
void
);
extern
PDB
*
PROCESS_IdToPDB
(
DWORD
id
);
extern
void
PROCESS_CallUserSignalProc
(
UINT
uCode
,
DWORD
dwThreadOrProcessId
,
HMODULE
hModule
);
extern
void
PROCESS_CallUserSignalProc
(
UINT
uCode
,
HMODULE
hModule
);
extern
PDB
*
PROCESS_Create
(
struct
_NE_MODULE
*
pModule
,
LPCSTR
cmd_line
,
LPCSTR
env
,
HINSTANCE16
hInstance
,
HINSTANCE16
hPrevInstance
,
...
...
loader/ne/module.c
View file @
bda3969d
...
...
@@ -1218,7 +1218,7 @@ static BOOL16 NE_FreeModule( HMODULE16 hModule, BOOL call_wep )
pTask
->
userhandler
(
hModule
,
USIG16_DLL_UNLOAD
,
0
,
pTask
->
hInstance
,
pTask
->
hQueue
);
PROCESS_CallUserSignalProc
(
USIG_DLL_UNLOAD_WIN16
,
0
,
hModule
);
PROCESS_CallUserSignalProc
(
USIG_DLL_UNLOAD_WIN16
,
hModule
);
}
else
call_wep
=
FALSE
;
/* We are freeing a task -> no more WEPs */
...
...
loader/task.c
View file @
bda3969d
...
...
@@ -249,10 +249,10 @@ static void TASK_CallToStart(void)
InitializeCriticalSection
(
&
PROCESS_Current
()
->
crit_section
);
/* Call USER signal proc */
PROCESS_CallUserSignalProc
(
USIG_THREAD_INIT
,
0
,
0
);
/* for initial thread */
PROCESS_CallUserSignalProc
(
USIG_PROCESS_INIT
,
0
,
0
);
PROCESS_CallUserSignalProc
(
USIG_PROCESS_LOADED
,
0
,
0
);
PROCESS_CallUserSignalProc
(
USIG_PROCESS_RUNNING
,
0
,
0
);
PROCESS_CallUserSignalProc
(
USIG_THREAD_INIT
,
0
);
/* for initial thread */
PROCESS_CallUserSignalProc
(
USIG_PROCESS_INIT
,
0
);
PROCESS_CallUserSignalProc
(
USIG_PROCESS_LOADED
,
0
);
PROCESS_CallUserSignalProc
(
USIG_PROCESS_RUNNING
,
0
);
if
(
pModule
->
flags
&
NE_FFLAGS_WIN32
)
{
...
...
@@ -575,9 +575,9 @@ void TASK_KillTask( HTASK16 hTask )
pTask
->
userhandler
(
hTask
,
USIG16_TERMINATION
,
0
,
pTask
->
hInstance
,
pTask
->
hQueue
);
PROCESS_CallUserSignalProc
(
USIG_PROCESS_EXIT
,
0
,
0
);
PROCESS_CallUserSignalProc
(
USIG_THREAD_EXIT
,
0
,
0
);
/* FIXME */
PROCESS_CallUserSignalProc
(
USIG_PROCESS_DESTROY
,
0
,
0
);
PROCESS_CallUserSignalProc
(
USIG_PROCESS_EXIT
,
0
);
PROCESS_CallUserSignalProc
(
USIG_THREAD_EXIT
,
0
);
/* FIXME */
PROCESS_CallUserSignalProc
(
USIG_PROCESS_DESTROY
,
0
);
if
(
nTaskCount
<=
1
)
{
...
...
scheduler/thread.c
View file @
bda3969d
...
...
@@ -162,7 +162,7 @@ void CALLBACK THREAD_FreeTHDB( ULONG_PTR arg )
TRACE
(
"(%p) called
\n
"
,
thdb
);
SERVICE_Delete
(
thdb
->
cleanup
);
PROCESS_CallUserSignalProc
(
USIG_THREAD_EXIT
,
0
,
0
);
PROCESS_CallUserSignalProc
(
USIG_THREAD_EXIT
,
0
);
CloseHandle
(
thdb
->
event
);
while
(
*
pptr
&&
(
*
pptr
!=
thdb
))
pptr
=
&
(
*
pptr
)
->
next
;
...
...
@@ -292,7 +292,7 @@ static void THREAD_Start(void)
{
THDB
*
thdb
=
THREAD_Current
();
LPTHREAD_START_ROUTINE
func
=
(
LPTHREAD_START_ROUTINE
)
thdb
->
entry_point
;
PROCESS_CallUserSignalProc
(
USIG_THREAD_INIT
,
0
,
0
);
PROCESS_CallUserSignalProc
(
USIG_THREAD_INIT
,
0
);
PE_InitTls
();
MODULE_DllThreadAttach
(
NULL
);
...
...
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