OSDN Git Service

bluez a2dp - syncronize worker thread start
authorIan Kent <raven@themaw.net>
Mon, 28 Sep 2009 15:47:43 +0000 (23:47 +0800)
committerNick Pelly <npelly@google.com>
Tue, 29 Sep 2009 23:56:53 +0000 (16:56 -0700)
commitfa4032c2d980a54a56a845b63a02270bcd5e25f2
tree27dae8203fc6076199d9c255ef44d326006633b9
parent65812dbb560f4351c85bdee0559d979b0d90197d
bluez a2dp - syncronize worker thread start

There is an order of execution assumption made when starting the
a2dp worker thread. Add an additional condition variable to allow
us to make sure we have reached the thread_wait condition wait
before returning from a2dp_init().
audio/liba2dp.c