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
770c4a15
Commit
770c4a15
authored
Dec 12, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Don't enable polling on regular files in add_queue.
parent
59797f29
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
fd.c
server/fd.c
+2
-2
No files found.
server/fd.c
View file @
770c4a15
...
...
@@ -1479,7 +1479,7 @@ int default_fd_add_queue( struct object *obj, struct wait_queue_entry *entry )
struct
fd
*
fd
=
get_obj_fd
(
obj
);
if
(
!
fd
)
return
0
;
if
(
list_empty
(
&
obj
->
wait_queue
))
/* first on the queue */
if
(
!
fd
->
inode
&&
list_empty
(
&
obj
->
wait_queue
))
/* first on the queue */
set_fd_events
(
fd
,
fd
->
fd_ops
->
get_poll_events
(
fd
)
);
add_queue
(
obj
,
entry
);
release_object
(
fd
);
...
...
@@ -1493,7 +1493,7 @@ void default_fd_remove_queue( struct object *obj, struct wait_queue_entry *entry
grab_object
(
obj
);
remove_queue
(
obj
,
entry
);
if
(
list_empty
(
&
obj
->
wait_queue
))
/* last on the queue is gone */
if
(
!
fd
->
inode
&&
list_empty
(
&
obj
->
wait_queue
))
/* last on the queue is gone */
set_fd_events
(
fd
,
0
);
release_object
(
obj
);
release_object
(
fd
);
...
...
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