projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7728e46
)
qemu: set 100ms timeout to epoll_wait function
author
Jinhyung Choi
<jinhyung2.choi@samsung.com>
Tue, 27 Aug 2013 07:42:12 +0000
(16:42 +0900)
committer
Jinhyung Choi
<jinhyung2.choi@samsung.com>
Tue, 27 Aug 2013 07:42:12 +0000
(16:42 +0900)
Change-Id: I4ee1bcfe927fc8deee584f077eea7ee5a87b1343
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
tizen/src/ecs.c
patch
|
blob
|
history
diff --git
a/tizen/src/ecs.c
b/tizen/src/ecs.c
index 5f8cc0630f2d2fb28227f7ba4592851a9b45c0ed..873b27070f65b6d6daa92a8c96e25749104f73ed 100644
(file)
--- a/
tizen/src/ecs.c
+++ b/
tizen/src/ecs.c
@@
-1255,7
+1255,7
@@
static int socket_initialize(ECS_State *cs, QemuOpts *opts) {
static int ecs_loop(ECS_State *cs) {
int i, nfds;
- nfds = epoll_wait(cs->epoll_fd, cs->events, MAX_EVENTS, 0);
+ nfds = epoll_wait(cs->epoll_fd, cs->events, MAX_EVENTS,
10
0);
if (0 == nfds) {
return 0;
}
@@
-1410,7
+1410,7
@@
static void* ecs_initialize(void* args) {
if (0 > ret) {
LOG("socket resource is full.");
port = -1;
- return
ret
;
+ return
NULL
;
}
port_setting = 1;