projects
/
profile
/
ivi
/
persistence-client-library.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added timeout to poll function in dbus mainloop
[profile/ivi/persistence-client-library.git]
/
src
/
persistence_client_library_dbus_service.c
diff --git
a/src/persistence_client_library_dbus_service.c
b/src/persistence_client_library_dbus_service.c
index
f7a0538
..
baa1906
100644
(file)
--- a/
src/persistence_client_library_dbus_service.c
+++ b/
src/persistence_client_library_dbus_service.c
@@
-543,7
+543,7
@@
int mainLoop(DBusObjectPathVTable vtable, DBusObjectPathVTable vtable2,
while (DBUS_DISPATCH_DATA_REMAINS==dbus_connection_dispatch(conn));
- while ((-1==(ret=poll(gPollInfo.fds, gPollInfo.nfds,
-1
)))&&(EINTR==errno));
+ while ((-1==(ret=poll(gPollInfo.fds, gPollInfo.nfds,
750
)))&&(EINTR==errno));
if (0>ret)
{