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
3009185c
Commit
3009185c
authored
May 20, 2002
by
Francois Gouget
Committed by
Alexandre Julliard
May 20, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dump thread id instead of %fs.
parent
476aabc9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
critsection.c
dlls/ntdll/critsection.c
+4
-5
No files found.
dlls/ntdll/critsection.c
View file @
3009185c
...
@@ -27,7 +27,6 @@
...
@@ -27,7 +27,6 @@
#include <sys/types.h>
#include <sys/types.h>
#include "winerror.h"
#include "winerror.h"
#include "ntddk.h"
#include "ntddk.h"
#include "wine/library.h"
#include "wine/debug.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
ntdll
);
WINE_DEFAULT_DEBUG_CHANNEL
(
ntdll
);
...
@@ -119,13 +118,13 @@ NTSTATUS WINAPI RtlpWaitForCriticalSection( RTL_CRITICAL_SECTION *crit )
...
@@ -119,13 +118,13 @@ NTSTATUS WINAPI RtlpWaitForCriticalSection( RTL_CRITICAL_SECTION *crit )
{
{
const
char
*
name
=
(
char
*
)
crit
->
DebugInfo
;
const
char
*
name
=
(
char
*
)
crit
->
DebugInfo
;
if
(
!
name
||
IsBadStringPtrA
(
name
,
80
))
name
=
"?"
;
if
(
!
name
||
IsBadStringPtrA
(
name
,
80
))
name
=
"?"
;
ERR
(
"section %p %s wait timed out, retrying (60 sec)
fs=%04
x
\n
"
,
ERR
(
"section %p %s wait timed out, retrying (60 sec)
tid=%08l
x
\n
"
,
crit
,
debugstr_a
(
name
),
wine_get_fs
()
);
crit
,
debugstr_a
(
name
),
GetCurrentThreadId
()
);
res
=
WaitForSingleObject
(
sem
,
60000L
);
res
=
WaitForSingleObject
(
sem
,
60000L
);
if
(
res
==
WAIT_TIMEOUT
&&
TRACE_ON
(
relay
)
)
if
(
res
==
WAIT_TIMEOUT
&&
TRACE_ON
(
relay
)
)
{
{
ERR
(
"section %p %s wait timed out, retrying (5 min)
fs=%04
x
\n
"
,
ERR
(
"section %p %s wait timed out, retrying (5 min)
tid=%08l
x
\n
"
,
crit
,
debugstr_a
(
name
),
wine_get_fs
()
);
crit
,
debugstr_a
(
name
),
GetCurrentThreadId
()
);
res
=
WaitForSingleObject
(
sem
,
300000L
);
res
=
WaitForSingleObject
(
sem
,
300000L
);
}
}
}
}
...
...
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