EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Question on filter notifications when client process is in debugged

Also by EldoS: Callback File System
Create virtual file systems and disks, expose and manage remote data as if they were files on the local disk.
#35451
Posted: 01/08/2016 04:50:05
by Chris Spiteri (Standard support level)
Joined: 10/06/2014
Posts: 57

Hello,

What happens to the filter notifications if the client process that uses the filter is blocked in the debugger?

I would suspect that the callbacks will not execute, and therefore the notification data (e.g. write offsets and lengths) will end up lost eventually, but i would appreciate it if you could offer some insights.

Thanks and best regards,
Chris
#35453
Posted: 01/08/2016 05:24:36
by Vladimir Cherniga (EldoS Corp.)

Actually, in the case of notifications, and when callback mechanism is not terminated from user mode, and timeout value is not set, then notification queue in kernel mode is limited by system resources allocation only. There are no other limits.
#35454
Posted: 01/08/2016 06:22:46
by Chris Spiteri (Standard support level)
Joined: 10/06/2014
Posts: 57

Thank you for your reply.

Does this mean that notifications are queued 'inside the filter', and then processed in the client process callbacks when the process next unblocks?

That is to say, are notifications preserved (i.e. not lost, assuming enough system resources) but merely delayed until the process is unblocked?

Regards,
Chris
#35455
Posted: 01/08/2016 06:34:54
by Eugene Mayevski (EldoS Corp.)

Quote
Chris Spiteri wrote:
Does this mean that notifications are queued 'inside the filter', and then processed in the client process callbacks when the process next unblocks?


Asynchronous notifications will behave this way. Synchronous callbacks will expire or wait depending on what value you passed in Timeout parameter of AttachFilter method.


Sincerely yours
Eugene Mayevski
#35456
Posted: 01/08/2016 06:35:16
by Vladimir Cherniga (EldoS Corp.)

Quote
Chris Spiteri wrote:
Does this mean that notifications are queued 'inside the filter', and then processed in the client process callbacks when the process next unblocks?

Yes, it does. Until timeout expired, if defined, or worker thread termination occurred.
#35462
Posted: 01/08/2016 09:28:45
by Chris Spiteri (Standard support level)
Joined: 10/06/2014
Posts: 57

Thanks for the clarification.

Best regards,
Chris
Also by EldoS: Callback File System
Create virtual file systems and disks, expose and manage remote data as if they were files on the local disk.

Reply

Statistics

Topic viewed 2908 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!