[Bluetooth] Add the notice about thread-safety 96/158296/2
authorHyuk Lee <hyuk0512.lee@samsung.com>
Tue, 31 Oct 2017 01:42:25 +0000 (10:42 +0900)
committerHyuk Lee <hyuk0512.lee@samsung.com>
Tue, 31 Oct 2017 01:55:23 +0000 (10:55 +0900)
Change-Id: Ibaf5b4311ee87466d7fd928ce5b5779bb9183f6b
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
org.tizen.guides/html/native/connectivity/bluetooth_n.htm

index 5ede6fc..ceb2c71 100644 (file)
@@ -167,6 +167,11 @@ if (ret != BT_ERROR_NONE) {
 }
 </pre></li></ol>
 
+  <div class="note">
+        <strong>Note</strong>
+        The Bluetooth feature is not thread-safe and depends on the main loop. Implement Bluetooth within the main loop, and do not use it in a thread.
+  </div>
+
  <h2 id="enable" name="enable">Enabling and Disabling Bluetooth</h2>
 
 <p>To allow the user to enable or disable Bluetooth, use the application control to display the Bluetooth activation settings.</p>