Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
6c0379f0
Commit
6c0379f0
authored
Jul 06, 2020
by
Zebediah Figura
Committed by
Vitaly Lipatov
Jul 30, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Implement NtDuplicateObject().
parent
20507a7c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
esync.c
server/esync.c
+9
-1
No files found.
server/esync.c
View file @
6c0379f0
...
...
@@ -112,6 +112,7 @@ struct esync
};
static
void
esync_dump
(
struct
object
*
obj
,
int
verbose
);
static
int
esync_get_esync_fd
(
struct
object
*
obj
,
enum
esync_type
*
type
);
static
unsigned
int
esync_map_access
(
struct
object
*
obj
,
unsigned
int
access
);
static
void
esync_destroy
(
struct
object
*
obj
);
...
...
@@ -123,7 +124,7 @@ const struct object_ops esync_ops =
no_add_queue
,
/* add_queue */
NULL
,
/* remove_queue */
NULL
,
/* signaled */
NULL
,
/* get_esync_fd */
esync_get_esync_fd
,
/* get_esync_fd */
NULL
,
/* satisfied */
no_signal
,
/* signal */
no_get_fd
,
/* get_fd */
...
...
@@ -147,6 +148,13 @@ static void esync_dump( struct object *obj, int verbose )
fprintf
(
stderr
,
"esync fd=%d
\n
"
,
esync
->
fd
);
}
static
int
esync_get_esync_fd
(
struct
object
*
obj
,
enum
esync_type
*
type
)
{
struct
esync
*
esync
=
(
struct
esync
*
)
obj
;
*
type
=
esync
->
type
;
return
esync
->
fd
;
}
static
unsigned
int
esync_map_access
(
struct
object
*
obj
,
unsigned
int
access
)
{
/* Sync objects have the same flags. */
...
...
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