Is there in a resource manager, a mechanism to be advised that a client,
which did an open, is died before doing a close?
Thanks,
Alain.
Is there in a resource manager, a mechanism to be advised that a client,
which did an open, is died before doing a close?
Thanks,
Alain.
Alain Bonnefoy <alain.bonnefoy@icbt.com> wrote:
Is there in a resource manager, a mechanism to be advised that a client,
which did an open, is died before doing a close?
The kernel synthesizes an _IO_CLOSE when the client dies. So, the answer
is “technically” no – you will get the close() when the client dies.
Robert Krten, PARSE Software Devices +1 613 599 8316.
Realtime Systems Architecture, Consulting and Training at www.parse.com
Email my initials at parse dot com
nospam94@parse.com a écrit :
Alain Bonnefoy <> alain.bonnefoy@icbt.com> > wrote:
Is there in a resource manager, a mechanism to be advised that a client,
which did an open, is died before doing a close?The kernel synthesizes an _IO_CLOSE when the client dies. So, the answer
is “technically” no – you will get the close() when the client dies.Cheers,
-RKRobert Krten, PARSE Software Devices +1 613 599 8316.
Realtime Systems Architecture, Consulting and Training at > www.parse.com
Email my initials at parse dot com
Ok, I actually use procmgr_daemon() for my VIC (Very Important Client) and
procmgr_event_notify(PROCMGR_EVENT_DAEMON_DEATH, &event) in my server.
I’ll continue with this method.
Thanks,
Alain.