Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH v1 0/1] shared/att: Handle disconnects.
@ 2014-08-09  1:46 Arman Uguray
  2014-08-09  1:46 ` [PATCH v1 1/1] " Arman Uguray
  0 siblings, 1 reply; 4+ messages in thread
From: Arman Uguray @ 2014-08-09  1:46 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Arman Uguray

*v1: The code now destroys the underlying io structure on timeouts and
     disconnects. In the disconnect case, the io_destroy job is posted on the
     mainloop to prevent the io from being deallocated in the middle of its
     internal event handler.

     In the timeout case, the io_destroy call will clean up the underlying
     connection only if bt_att_set_close_on_unref was called on the bt_att
     structure earlier.

Arman Uguray (1):
  shared/att: Handle disconnects.

 src/shared/att.c | 108 ++++++++++++++++++++++++++++++++++++++++++++++---------
 src/shared/att.h |   5 +++
 2 files changed, 97 insertions(+), 16 deletions(-)

-- 
2.0.0.526.g5318336


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-08-11 21:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-09  1:46 [PATCH v1 0/1] shared/att: Handle disconnects Arman Uguray
2014-08-09  1:46 ` [PATCH v1 1/1] " Arman Uguray
2014-08-11  7:24   ` Johan Hedberg
2014-08-11 21:21     ` Arman Uguray

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox