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
9ed42d27
Commit
9ed42d27
authored
Dec 26, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Get rid of the unused count parameter in fd_queue_async().
parent
b660aaa9
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
9 additions
and
9 deletions
+9
-9
change.c
server/change.c
+1
-1
device.c
server/device.c
+1
-1
fd.c
server/fd.c
+2
-2
file.h
server/file.h
+1
-1
mailslot.c
server/mailslot.c
+1
-1
named_pipe.c
server/named_pipe.c
+2
-2
serial.c
server/serial.c
+1
-1
No files found.
server/change.c
View file @
9ed42d27
...
...
@@ -1144,7 +1144,7 @@ DECL_HANDLER(read_directory_changes)
return
;
/* requests don't timeout */
if
(
!
(
async
=
fd_queue_async
(
dir
->
fd
,
&
req
->
async
,
ASYNC_TYPE_WAIT
,
0
)))
goto
end
;
if
(
!
(
async
=
fd_queue_async
(
dir
->
fd
,
&
req
->
async
,
ASYNC_TYPE_WAIT
)))
goto
end
;
/* assign it once */
if
(
!
dir
->
filter
)
...
...
server/device.c
View file @
9ed42d27
...
...
@@ -332,7 +332,7 @@ static obj_handle_t device_ioctl( struct fd *fd, ioctl_code_t code, const async_
return
0
;
}
if
(
!
(
ioctl
->
async
=
fd_queue_async
(
device
->
fd
,
async_data
,
ASYNC_TYPE_WAIT
,
0
)))
if
(
!
(
ioctl
->
async
=
fd_queue_async
(
device
->
fd
,
async_data
,
ASYNC_TYPE_WAIT
)))
{
close_handle
(
current
->
process
,
handle
);
release_object
(
ioctl
);
...
...
server/fd.c
View file @
9ed42d27
...
...
@@ -1769,7 +1769,7 @@ void default_poll_event( struct fd *fd, int event )
else
if
(
!
fd
->
inode
)
set_fd_events
(
fd
,
fd
->
fd_ops
->
get_poll_events
(
fd
)
);
}
struct
async
*
fd_queue_async
(
struct
fd
*
fd
,
const
async_data_t
*
data
,
int
type
,
int
count
)
struct
async
*
fd_queue_async
(
struct
fd
*
fd
,
const
async_data_t
*
data
,
int
type
)
{
struct
async_queue
*
queue
;
struct
async
*
async
;
...
...
@@ -1830,7 +1830,7 @@ void default_fd_queue_async( struct fd *fd, const async_data_t *data, int type,
{
struct
async
*
async
;
if
((
async
=
fd_queue_async
(
fd
,
data
,
type
,
count
)))
if
((
async
=
fd_queue_async
(
fd
,
data
,
type
)))
{
release_object
(
async
);
set_error
(
STATUS_PENDING
);
...
...
server/file.h
View file @
9ed42d27
...
...
@@ -75,7 +75,7 @@ extern int default_fd_signaled( struct object *obj, struct thread *thread );
extern
unsigned
int
default_fd_map_access
(
struct
object
*
obj
,
unsigned
int
access
);
extern
int
default_fd_get_poll_events
(
struct
fd
*
fd
);
extern
void
default_poll_event
(
struct
fd
*
fd
,
int
event
);
extern
struct
async
*
fd_queue_async
(
struct
fd
*
fd
,
const
async_data_t
*
data
,
int
type
,
int
count
);
extern
struct
async
*
fd_queue_async
(
struct
fd
*
fd
,
const
async_data_t
*
data
,
int
type
);
extern
void
fd_async_wake_up
(
struct
fd
*
fd
,
int
type
,
unsigned
int
status
);
extern
void
fd_reselect_async
(
struct
fd
*
fd
,
struct
async_queue
*
queue
);
extern
obj_handle_t
default_fd_ioctl
(
struct
fd
*
fd
,
ioctl_code_t
code
,
const
async_data_t
*
async
,
...
...
server/mailslot.c
View file @
9ed42d27
...
...
@@ -307,7 +307,7 @@ static void mailslot_queue_async( struct fd *fd, const async_data_t *data, int t
assert
(
mailslot
->
obj
.
ops
==
&
mailslot_ops
);
if
((
async
=
fd_queue_async
(
fd
,
data
,
type
,
count
)))
if
((
async
=
fd_queue_async
(
fd
,
data
,
type
)))
{
async_set_timeout
(
async
,
mailslot
->
read_timeout
?
mailslot
->
read_timeout
:
-
1
,
STATUS_IO_TIMEOUT
);
...
...
server/named_pipe.c
View file @
9ed42d27
...
...
@@ -610,13 +610,13 @@ static obj_handle_t pipe_server_ioctl( struct fd *fd, ioctl_code_t code, const a
async_data_t
new_data
=
*
async_data
;
if
(
!
(
wait_handle
=
alloc_wait_event
(
current
->
process
)))
break
;
new_data
.
event
=
wait_handle
;
if
(
!
(
async
=
fd_queue_async
(
server
->
ioctl_fd
,
&
new_data
,
ASYNC_TYPE_WAIT
,
0
)))
if
(
!
(
async
=
fd_queue_async
(
server
->
ioctl_fd
,
&
new_data
,
ASYNC_TYPE_WAIT
)))
{
close_handle
(
current
->
process
,
wait_handle
);
break
;
}
}
else
async
=
fd_queue_async
(
server
->
ioctl_fd
,
async_data
,
ASYNC_TYPE_WAIT
,
0
);
else
async
=
fd_queue_async
(
server
->
ioctl_fd
,
async_data
,
ASYNC_TYPE_WAIT
);
if
(
async
)
{
...
...
server/serial.c
View file @
9ed42d27
...
...
@@ -188,7 +188,7 @@ static void serial_queue_async( struct fd *fd, const async_data_t *data, int typ
break
;
}
if
((
async
=
fd_queue_async
(
fd
,
data
,
type
,
count
)))
if
((
async
=
fd_queue_async
(
fd
,
data
,
type
)))
{
if
(
timeout
)
async_set_timeout
(
async
,
timeout
*
-
10000
,
STATUS_TIMEOUT
);
release_object
(
async
);
...
...
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