-
-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PCSCCardRequest: use a local PC/SC context to avoid locks
SCardGetStatusChange() should not be called from the same PC/SC context used by all the other PC/SC functions. Because of a mutex in pcsc-lite the calls using the same context are exclusive. So the performances were bad. The problem was discovered by the framework testsuite that was running very slow on GNU/Linux (but not on Windows or macOS).
- Loading branch information
1 parent
160d0bd
commit d9c0bf9
Showing
1 changed file
with
22 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters