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
081daf7d
Commit
081daf7d
authored
Jul 31, 1999
by
Ulrich Weigand
Committed by
Alexandre Julliard
Jul 31, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented KERNEL.447 (WIN32_OldYield16).
parent
56237566
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
7 deletions
+13
-7
kernel.spec
if1632/kernel.spec
+1
-1
winbase16.h
include/wine/winbase16.h
+1
-0
task.c
loader/task.c
+10
-0
queue.c
windows/queue.c
+1
-6
No files found.
if1632/kernel.spec
View file @
081daf7d
...
@@ -351,7 +351,7 @@ file krnl386.exe
...
@@ -351,7 +351,7 @@ file krnl386.exe
444 pascal16 Local32Info(ptr word) Local32Info16
444 pascal16 Local32Info(ptr word) Local32Info16
445 pascal16 Local32First(ptr word) Local32First16
445 pascal16 Local32First(ptr word) Local32First16
446 pascal16 Local32Next(ptr) Local32Next16
446 pascal16 Local32Next(ptr) Local32Next16
447 pascal16
KERNEL_447() KERNEL_nop
447 pascal16
WIN32_OldYield() WIN32_OldYield16
448 stub KERNEL_448
448 stub KERNEL_448
449 pascal GetpWin16Lock() GetpWin16Lock16
449 pascal GetpWin16Lock() GetpWin16Lock16
450 pascal VWin32_EventWait(long) VWin32_EventWait
450 pascal VWin32_EventWait(long) VWin32_EventWait
...
...
include/wine/winbase16.h
View file @
081daf7d
...
@@ -93,6 +93,7 @@ HMODULE WINAPI LoadLibraryEx32W16(LPCSTR,HANDLE16,DWORD);
...
@@ -93,6 +93,7 @@ HMODULE WINAPI LoadLibraryEx32W16(LPCSTR,HANDLE16,DWORD);
FARPROC16
WINAPI
LocalNotify16
(
FARPROC16
);
FARPROC16
WINAPI
LocalNotify16
(
FARPROC16
);
HTASK16
WINAPI
LockCurrentTask16
(
BOOL16
);
HTASK16
WINAPI
LockCurrentTask16
(
BOOL16
);
VOID
WINAPI
OldYield16
(
void
);
VOID
WINAPI
OldYield16
(
void
);
VOID
WINAPI
WIN32_OldYield16
(
void
);
VOID
WINAPI
PostEvent16
(
HTASK16
);
VOID
WINAPI
PostEvent16
(
HTASK16
);
WORD
WINAPI
PrestoChangoSelector16
(
WORD
,
WORD
);
WORD
WINAPI
PrestoChangoSelector16
(
WORD
,
WORD
);
WORD
WINAPI
SelectorAccessRights16
(
WORD
,
WORD
,
WORD
);
WORD
WINAPI
SelectorAccessRights16
(
WORD
,
WORD
,
WORD
);
...
...
loader/task.c
View file @
081daf7d
...
@@ -870,6 +870,16 @@ void WINAPI OldYield16(void)
...
@@ -870,6 +870,16 @@ void WINAPI OldYield16(void)
if
(
pCurTask
)
pCurTask
->
nEvents
--
;
if
(
pCurTask
)
pCurTask
->
nEvents
--
;
}
}
/***********************************************************************
* WIN32_OldYield16 (KERNEL.447)
*/
void
WINAPI
WIN32_OldYield16
(
void
)
{
DWORD
count
;
ReleaseThunkLock
(
&
count
);
RestoreThunkLock
(
count
);
}
/***********************************************************************
/***********************************************************************
* DirectedYield (KERNEL.150)
* DirectedYield (KERNEL.150)
...
...
windows/queue.c
View file @
081daf7d
...
@@ -1533,12 +1533,7 @@ void WINAPI UserYield16(void)
...
@@ -1533,12 +1533,7 @@ void WINAPI UserYield16(void)
if
(
THREAD_IsWin16
(
NtCurrentTeb
()
)
)
if
(
THREAD_IsWin16
(
NtCurrentTeb
()
)
)
OldYield16
();
OldYield16
();
else
else
{
WIN32_OldYield16
();
DWORD
count
;
ReleaseThunkLock
(
&
count
);
RestoreThunkLock
(
count
);
}
/* Handle sent messages again */
/* Handle sent messages again */
queue
=
(
MESSAGEQUEUE
*
)
QUEUE_Lock
(
GetFastQueue16
()
);
queue
=
(
MESSAGEQUEUE
*
)
QUEUE_Lock
(
GetFastQueue16
()
);
...
...
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