Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
E
EtherBone Core
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
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
EtherBone Core
Commits
2fcdbb3e
Commit
2fcdbb3e
authored
Jun 30, 2014
by
Wesley W. Terpstra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
api: do not block the process if a callback was run before select
parent
f7d98589
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
run.c
api/transport/run.c
+3
-1
No files found.
api/transport/run.c
View file @
2fcdbb3e
...
...
@@ -64,6 +64,7 @@ long eb_socket_run(eb_socket_t socketp, long timeout_us) {
struct
timeval
timeout
,
start
,
stop
;
long
eb_deadline
;
long
eb_timeout_us
;
int
done
;
/* Find all descriptors */
FD_ZERO
(
&
sets
.
rfds
);
...
...
@@ -74,7 +75,8 @@ long eb_socket_run(eb_socket_t socketp, long timeout_us) {
gettimeofday
(
&
start
,
0
);
/* !!! hack starts: until we fix sender flow control */
eb_socket_check
(
socketp
,
start
.
tv_sec
,
&
sets
,
&
eb_check_sets
);
done
=
eb_socket_check
(
socketp
,
start
.
tv_sec
,
&
sets
,
&
eb_check_sets
);
if
(
done
>
0
)
return
0
;
/* !!! hack ends */
eb_deadline
=
eb_socket_timeout
(
socketp
);
...
...
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