Revision 67c91a6a9d4ca15f96a2cf4d2b09e5c3c979c896 authored by Thomas Zimmermann on 10 January 2013, 15:55:43 UTC, committed by Thomas Zimmermann on 10 January 2013, 15:55:43 UTC
The variable sIsPairing signals to the Bluetooth pairing response notifier if pairing is still requested. Being a boolean value, the variable only supported one pairing request at a time. To support multiple parallel pairing requests, this patch converts it into a counter. The counter is atomic, because notifier calls run in separate threads. Additionally, we now set sIsPairing before starting the pairing request. Otherwise the notifier might run before we can increment the variable.
1 parent 2b142ec
File | Mode | Size |
---|---|---|
content | ||
gtk2 | ||
mac | ||
test | ||
win | ||
CommandLineHandler.js | -rw-r--r-- | 2.4 KB |
ContentPermission.js | -rw-r--r-- | 3.1 KB |
ContentPolicy.js | -rw-r--r-- | 1.4 KB |
DirectoryProvider.js | -rw-r--r-- | 1.8 KB |
Makefile.in | -rw-r--r-- | 2.0 KB |
Startup.jsm | -rw-r--r-- | 1.8 KB |
WebappRT.jsm | -rw-r--r-- | 2.0 KB |
WebappsHandler.jsm | -rw-r--r-- | 2.7 KB |
application.ini.in | -rw-r--r-- | 801 bytes |
components.manifest | -rw-r--r-- | 1.2 KB |
jar.mn | -rw-r--r-- | 491 bytes |
prefs.js | -rw-r--r-- | 2.2 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...