Преглед изворни кода

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.