Procházet zdrojové kódy

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

Georgi Gerganov před 1 rokem
rodič
revize
739842703e
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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.