Re: [devel] [PATCH 1 of 3] base: Use inotify to improve response time for transport monitor process V3 [#2091]

2016-10-26 Thread Anders Widell
One more comment: it would be good if infinite time-outs are supported - i.e. by passing -1 as timeout argument. regards, Anders Widell On 10/22/2016 02:53 PM, Hans Nordeback wrote: > osaf/libs/core/cplusplus/base/Makefile.am|2 + > osaf/libs/core/cplusplus/base/file_notify.cc |

Re: [devel] [PATCH 1 of 3] base: Use inotify to improve response time for transport monitor process V3 [#2091]

2016-10-26 Thread Anders Widell
Ack with minor comment marked [AndersW]. regards, Anders Widell On 10/22/2016 02:53 PM, Hans Nordeback wrote: > osaf/libs/core/cplusplus/base/Makefile.am|2 + > osaf/libs/core/cplusplus/base/file_notify.cc | 188 > +++ >

Re: [devel] [PATCH 1 of 3] base: Use inotify to improve response time for transport monitor process V3 [#2091]

2016-10-24 Thread Hans Nordebäck
Hi, the design can be more general, WaitForFileCreation/Deletion can be change to WaitForEvent(Events, timeout), where Events contains filename + filedescriptors. When an event happens it will be returned. /Thanks HansN -Original Message- From: Hans Nordeback

[devel] [PATCH 1 of 3] base: Use inotify to improve response time for transport monitor process V3 [#2091]

2016-10-22 Thread Hans Nordeback
osaf/libs/core/cplusplus/base/Makefile.am|2 + osaf/libs/core/cplusplus/base/file_notify.cc | 188 +++ osaf/libs/core/cplusplus/base/file_notify.h | 103 ++ 3 files changed, 293 insertions(+), 0 deletions(-) diff --git