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
a67e6486
Commit
a67e6486
authored
May 18, 2001
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed THREAD_IsWin16.
parent
18ce388d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
13 deletions
+4
-13
thread.h
include/thread.h
+0
-1
task.c
loader/task.c
+4
-4
thread.c
scheduler/thread.c
+0
-8
No files found.
include/thread.h
View file @
a67e6486
...
...
@@ -127,7 +127,6 @@ typedef struct _TEB
/* scheduler/thread.c */
extern
void
THREAD_Init
(
void
);
extern
TEB
*
THREAD_InitStack
(
TEB
*
teb
,
DWORD
stack_size
);
extern
BOOL
THREAD_IsWin16
(
TEB
*
thdb
);
extern
TEB
*
THREAD_IdToTEB
(
DWORD
id
);
/* scheduler/sysdeps.c */
...
...
loader/task.c
View file @
a67e6486
...
...
@@ -579,7 +579,7 @@ BOOL16 WINAPI WaitEvent16( HTASK16 hTask )
if
(
!
hTask
)
hTask
=
GetCurrentTask
();
pTask
=
TASK_GetPtr
(
hTask
);
if
(
!
THREAD_IsWin16
(
NtCurrentTeb
()
)
)
if
(
pTask
->
flags
&
TDBF_WIN32
)
{
FIXME
(
"called for Win32 thread (%04x)!
\n
"
,
NtCurrentTeb
()
->
teb_sel
);
return
TRUE
;
...
...
@@ -618,7 +618,7 @@ void WINAPI PostEvent16( HTASK16 hTask )
if
(
!
hTask
)
hTask
=
GetCurrentTask
();
if
(
!
(
pTask
=
TASK_GetPtr
(
hTask
)))
return
;
if
(
!
THREAD_IsWin16
(
pTask
->
teb
)
)
if
(
pTask
->
flags
&
TDBF_WIN32
)
{
FIXME
(
"called for Win32 thread (%04x)!
\n
"
,
pTask
->
teb
->
teb_sel
);
return
;
...
...
@@ -700,7 +700,7 @@ void WINAPI DirectedYield16( HTASK16 hTask )
{
TDB
*
pCurTask
=
TASK_GetCurrent
();
if
(
!
THREAD_IsWin16
(
NtCurrentTeb
()
)
)
if
(
pCurTask
->
flags
&
TDBF_WIN32
)
{
FIXME
(
"called for Win32 thread (%04x)!
\n
"
,
NtCurrentTeb
()
->
teb_sel
);
return
;
...
...
@@ -1043,7 +1043,7 @@ HANDLE WINAPI GetFastQueue16( void )
return
0
;
}
}
Callout
.
InitThreadInput16
(
0
,
THREAD_IsWin16
(
teb
)
?
4
:
5
);
Callout
.
InitThreadInput16
(
0
,
(
teb
->
tibflags
&
TEBF_WIN32
)
?
5
:
4
);
if
(
!
teb
->
queue
)
FIXME
(
"(): should initialize thread-local queue, expect failure!
\n
"
);
...
...
scheduler/thread.c
View file @
a67e6486
...
...
@@ -38,14 +38,6 @@ static TEB initial_teb;
extern
struct
_PDB
current_process
;
/***********************************************************************
* THREAD_IsWin16
*/
BOOL
THREAD_IsWin16
(
TEB
*
teb
)
{
return
!
teb
||
!
(
teb
->
tibflags
&
TEBF_WIN32
);
}
/***********************************************************************
* THREAD_IdToTEB
*
* Convert a thread id to a TEB, making sure it is valid.
...
...
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