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
4ad0c4d8
Commit
4ad0c4d8
authored
Sep 29, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws2_32: Move the getXXXbyYYY critical section to socket.c.
parent
3b6b1c87
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
11 deletions
+8
-11
async.c
dlls/ws2_32/async.c
+0
-10
socket.c
dlls/ws2_32/socket.c
+8
-1
No files found.
dlls/ws2_32/async.c
View file @
4ad0c4d8
...
...
@@ -53,16 +53,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
winsock
);
/* critical section to protect some non-reentrant net function */
CRITICAL_SECTION
csWSgetXXXbyYYY
;
static
CRITICAL_SECTION_DEBUG
critsect_debug
=
{
0
,
0
,
&
csWSgetXXXbyYYY
,
{
&
critsect_debug
.
ProcessLocksList
,
&
critsect_debug
.
ProcessLocksList
},
0
,
0
,
{
(
DWORD_PTR
)(
__FILE__
": csWSgetXXXbyYYY"
)
}
};
CRITICAL_SECTION
csWSgetXXXbyYYY
=
{
&
critsect_debug
,
-
1
,
0
,
0
,
0
,
0
};
#define AQ_WIN16 0x00
#define AQ_WIN32 0x04
#define HB_WIN32(hb) (hb->query.flags & AQ_WIN32)
...
...
dlls/ws2_32/socket.c
View file @
4ad0c4d8
...
...
@@ -168,7 +168,14 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
winsock
);
/* critical section to protect some non-reentrant net function */
extern
CRITICAL_SECTION
csWSgetXXXbyYYY
;
static
CRITICAL_SECTION
csWSgetXXXbyYYY
;
static
CRITICAL_SECTION_DEBUG
critsect_debug
=
{
0
,
0
,
&
csWSgetXXXbyYYY
,
{
&
critsect_debug
.
ProcessLocksList
,
&
critsect_debug
.
ProcessLocksList
},
0
,
0
,
{
(
DWORD_PTR
)(
__FILE__
": csWSgetXXXbyYYY"
)
}
};
static
CRITICAL_SECTION
csWSgetXXXbyYYY
=
{
&
critsect_debug
,
-
1
,
0
,
0
,
0
,
0
};
union
generic_unix_sockaddr
{
...
...
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