ソースを参照

llama : add comment about thread-safety [no ci] (#9449)

Georgi Gerganov 1 年間 前
コミット
739842703e
1 ファイル変更2 行追加0 行削除
  1. 2 0
      include/llama.h

+ 2 - 0
include/llama.h

@@ -911,6 +911,8 @@ extern "C" {
     //
     //
     // Tokenization
     // Tokenization
     //
     //
+    // The API is thread-safe.
+    //
 
 
     /// @details Convert the provided text into tokens.
     /// @details Convert the provided text into tokens.
     /// @param tokens The tokens pointer must be large enough to hold the resulting tokens.
     /// @param tokens The tokens pointer must be large enough to hold the resulting tokens.