Skip to content

Commit 2159eac

Browse files
authored
Update packages/react-native-executorch/common/rnexecutorch/models/VisionModel.h
1 parent 6ee9f4d commit 2159eac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/react-native-executorch/common/rnexecutorch/models

packages/react-native-executorch/common/rnexecutorch/models/VisionModel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class VisionModel : public BaseModel {
6262
* - generate() is called from JavaScript thread simultaneously
6363
*
6464
* Usage guidelines:
65-
* - Use std::lock_guard for blocking operations (JS API can wait)
65+
* - Use std::scoped_lock for blocking operations (JS API can wait)
6666
* - Use try_lock() for non-blocking operations (camera should skip frames)
6767
*
6868
* @note Marked mutable to allow locking in const methods if needed

0 commit comments

Comments
 (0)