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
0211d70a
Commit
0211d70a
authored
May 30, 2000
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure initial task is not marked as 32-bit.
parent
eeaae3ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
10 deletions
+3
-10
task.c
loader/task.c
+3
-10
No files found.
loader/task.c
View file @
0211d70a
...
...
@@ -294,10 +294,8 @@ BOOL TASK_Create( NE_MODULE *pModule, UINT16 cmdShow, TEB *teb, LPCSTR cmdline,
pTask
->
hSelf
=
hTask
;
pTask
->
flags
=
0
;
if
(
pModule
->
flags
&
NE_FFLAGS_WIN32
)
pTask
->
flags
|=
TDBF_WIN32
;
if
(
pModule
->
lpDosTask
)
pTask
->
flags
|=
TDBF_WINOLDAP
;
if
(
teb
->
tibflags
&
TEBF_WIN32
)
pTask
->
flags
|=
TDBF_WIN32
;
if
(
pModule
->
lpDosTask
)
pTask
->
flags
|=
TDBF_WINOLDAP
;
pTask
->
hInstance
=
pModule
->
self
;
pTask
->
hPrevInstance
=
0
;
...
...
@@ -416,11 +414,6 @@ static void TASK_DeleteTask( HTASK16 hTask )
pTask
->
magic
=
0xdead
;
/* invalidate signature */
/* Delete the Win32 part of the task */
/* PROCESS_FreePDB( pTask->teb->process ); FIXME */
/* K32OBJ_DecCount( &pTask->teb->header ); FIXME */
/* Free the selector aliases */
GLOBAL_FreeBlock
(
pTask
->
hCSAlias
);
...
...
@@ -643,7 +636,7 @@ void TASK_Reschedule(void)
}
/* If we are still the task with highest priority, just return ... */
if
(
mode
==
MODE_YIELD
&&
hNewTask
==
hCurrentTask
)
if
(
mode
==
MODE_YIELD
&&
hNewTask
&&
hNewTask
==
hCurrentTask
)
{
TRACE
(
"returning to the current task (%04x)
\n
"
,
hCurrentTask
);
SYSLEVEL_LeaveWin16Lock
();
...
...
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