OSDN Git Service

adapter: Queue parallel authorization requests
authorMikel Astiz <mikel.astiz@bmw-carit.de>
Fri, 28 Sep 2012 16:32:24 +0000 (18:32 +0200)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 1 Oct 2012 14:28:22 +0000 (17:28 +0300)
commit0314008ff39d156ff1a98c2f20f13284983d0d84
treeea896b25c166378f69d8d625b31c037bba941404
parent5381d021f3a1d63267273bb8b6b90772b01fa302
adapter: Queue parallel authorization requests

Remote device could try to connect several profiles in parallel, or
several devices could be trying to connect services. Instead of
returning EBUSY, this patch adds a queue to each adapter such that the
authorization requests will be queued and processed sequentially.
src/adapter.c