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
56b5e086
Commit
56b5e086
authored
Apr 04, 2003
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the Wine-specific EXCEPTION_CRITICAL_SECTION_WAIT define.
parent
19a1513f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
7 deletions
+4
-7
critsection.c
dlls/ntdll/critsection.c
+1
-1
winbase.h
include/winbase.h
+0
-3
gdbproxy.c
programs/winedbg/gdbproxy.c
+1
-1
winedbg.c
programs/winedbg/winedbg.c
+1
-1
except.c
win32/except.c
+1
-1
No files found.
dlls/ntdll/critsection.c
View file @
56b5e086
...
...
@@ -172,7 +172,7 @@ NTSTATUS WINAPI RtlpWaitForCriticalSection( RTL_CRITICAL_SECTION *crit )
/* Throw exception only for Wine internal locks */
if
(
!
crit
->
DebugInfo
)
continue
;
rec
.
ExceptionCode
=
EXCEPTION_CRITICAL_SECTION_WAIT
;
rec
.
ExceptionCode
=
STATUS_POSSIBLE_DEADLOCK
;
rec
.
ExceptionFlags
=
0
;
rec
.
ExceptionRecord
=
NULL
;
rec
.
ExceptionAddress
=
RtlRaiseException
;
/* sic */
...
...
include/winbase.h
View file @
56b5e086
...
...
@@ -813,9 +813,6 @@ typedef DWORD (CALLBACK *LPPROGRESS_ROUTINE)(LARGE_INTEGER, LARGE_INTEGER, LARGE
#define EXCEPTION_INVALID_HANDLE STATUS_INVALID_HANDLE
#define CONTROL_C_EXIT STATUS_CONTROL_C_EXIT
/* Wine extension; Windows doesn't have a name for this code */
#define EXCEPTION_CRITICAL_SECTION_WAIT 0xc0000194
#define DUPLICATE_CLOSE_SOURCE 0x00000001
#define DUPLICATE_SAME_ACCESS 0x00000002
...
...
programs/winedbg/gdbproxy.c
View file @
56b5e086
...
...
@@ -543,7 +543,7 @@ static BOOL handle_exception(struct gdb_context* gdbctx, EXCEPTION_DEBUG_INFO* e
gdbctx
->
last_sig
=
SIGINT
;
ret
=
TRUE
;
break
;
case
EXCEPTION_CRITICAL_SECTION_WAIT
:
case
STATUS_POSSIBLE_DEADLOCK
:
gdbctx
->
last_sig
=
SIGALRM
;
ret
=
TRUE
;
/* FIXME: we could also add here a O packet with additional information */
...
...
programs/winedbg/winedbg.c
View file @
56b5e086
...
...
@@ -552,7 +552,7 @@ static BOOL DEBUG_HandleException(EXCEPTION_RECORD *rec, BOOL first_chance, BOOL
case
CONTROL_C_EXIT
:
DEBUG_Printf
(
DBG_CHN_MESG
,
"^C"
);
break
;
case
EXCEPTION_CRITICAL_SECTION_WAIT
:
case
STATUS_POSSIBLE_DEADLOCK
:
{
DBG_ADDR
addr
;
...
...
win32/except.c
View file @
56b5e086
...
...
@@ -127,7 +127,7 @@ static int format_exception_msg( const EXCEPTION_POINTERS *ptr, char *buffer, in
case
CONTROL_C_EXIT
:
len
=
snprintf
(
buffer
,
size
,
"Unhandled ^C"
);
break
;
case
EXCEPTION_CRITICAL_SECTION_WAIT
:
case
STATUS_POSSIBLE_DEADLOCK
:
len
=
snprintf
(
buffer
,
size
,
"Critical section %08lx wait failed"
,
rec
->
ExceptionInformation
[
0
]);
break
;
...
...
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