浏览代码

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
     //
+    // The API is thread-safe.
+    //
 
     /// @details Convert the provided text into tokens.
     /// @param tokens The tokens pointer must be large enough to hold the resulting tokens.