Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug 480434 - Multiple bluetooth le devices connection problem; #66

Merged
merged 1 commit into from
Nov 9, 2015
Merged

Fix bug 480434 - Multiple bluetooth le devices connection problem; #66

merged 1 commit into from
Nov 9, 2015

Conversation

gavinying
Copy link
Contributor

The existing code limits only one bluetooth device to connect by using a fixed thread pool (each device consumes two threads), considering the number of actual connected bluetooth device could not be very big in practical use case, so use a cached thread pool should be OK.

@eclipsewebmaster
Copy link
Contributor

Issue tracker reference:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=480434

Signed-off-by: Ying Shaodong <helloysd@gmail.com>
@pierantoniomerlino
Copy link
Contributor

The current implementation of the bluetooth service uses a fixed thread pool and, indeed, this limits to one the maximum number of simultaneous connections. Changing to a cached thread pool fix the problem.

pierantoniomerlino added a commit that referenced this pull request Nov 9, 2015
Fix bug 480434 - Multiple bluetooth le devices connection problem;
@pierantoniomerlino pierantoniomerlino merged commit 19fc59f into eclipse:master Nov 9, 2015
@gavinying gavinying deleted the hotfix/480434 branch May 2, 2016 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants