Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH 00/13] Make android-tester callbacks thread safe
@ 2014-02-21 12:57 Jakub Tyszkowski
  2014-02-21 12:57 ` [PATCH 01/13] android/tester: Execute device found cbacks in main loop Jakub Tyszkowski
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: Jakub Tyszkowski @ 2014-02-21 12:57 UTC (permalink / raw)
  To: linux-bluetooth


This patch set makes all callbacks executions in HAL's notification thread being
transfered to tester's context. As test-specific callbacks are called by generic
callbacks, making the later executed in tester's main loop makes all custom
callbacks (and newly added) automatically executed in the right contex.

This is basically RFCv2 resend as PATCH with two follow-up patches.

Changes in relation to RFCv2:
  * [PATCH 12/13]: Changed daemon termination checks to non-blocking
  * [PATCH 13/13]: Added guard to execute all scheduled callbacks in current
    test's context

Best regards,

Jakub Tyszkowski (13):
  android/tester: Execute device found cbacks in main loop
  android/tester: Execute discovery state cbacks in main loop
  android/tester: Execute device properties cbacks in main loop
  android/tester: Execute adapter props cbacks in main loop
  android/tester: Execute adapter state changed cbacks in main loop
  android/tester: Execute socket cbacks in main loop
  android/tester: Execute hh connection state cbacks in main loop
  android/tester: Execute hh info cbacks in main loop
  android/tester: Execute hh protocol mode cbacks in main loop
  android/tester: Execute hh report cbacks in main loop
  android/tester: Execute hh virtual unplug cbacks in main loop
  android/tester: Non-blocking check for daemon termination
  android/tester: Add guard for late callback calls

 android/android-tester.c | 375 ++++++++++++++++++++++++++++++++++++++++-------
 1 file changed, 326 insertions(+), 49 deletions(-)

--
1.8.5.2


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

end of thread, other threads:[~2014-02-27 14:10 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-21 12:57 [PATCH 00/13] Make android-tester callbacks thread safe Jakub Tyszkowski
2014-02-21 12:57 ` [PATCH 01/13] android/tester: Execute device found cbacks in main loop Jakub Tyszkowski
2014-02-21 12:57 ` [PATCH 02/13] android/tester: Execute discovery state " Jakub Tyszkowski
2014-02-21 12:57 ` [PATCH 03/13] android/tester: Execute device properties " Jakub Tyszkowski
2014-02-21 12:57 ` [PATCH 04/13] android/tester: Execute adapter props " Jakub Tyszkowski
2014-02-21 12:57 ` [PATCH 05/13] android/tester: Execute adapter state changed " Jakub Tyszkowski
2014-02-21 12:57 ` [PATCH 06/13] android/tester: Execute socket " Jakub Tyszkowski
2014-02-21 12:57 ` [PATCH 07/13] android/tester: Execute hh connection state " Jakub Tyszkowski
2014-02-21 12:57 ` [PATCH 08/13] android/tester: Execute hh info " Jakub Tyszkowski
2014-02-21 12:57 ` [PATCH 09/13] android/tester: Execute hh protocol mode " Jakub Tyszkowski
2014-02-21 12:57 ` [PATCH 10/13] android/tester: Execute hh report " Jakub Tyszkowski
2014-02-21 12:57 ` [PATCH 11/13] android/tester: Execute hh virtual unplug " Jakub Tyszkowski
2014-02-21 12:57 ` [PATCH 12/13] android/tester: Non-blocking check for daemon termination Jakub Tyszkowski
2014-02-21 12:57 ` [PATCH 13/13] android/tester: Add guard for late callback calls Jakub Tyszkowski
2014-02-27 14:10 ` [PATCH 00/13] Make android-tester callbacks thread safe Szymon Janc

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