We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2cab571 + 83c8bdd commit d33545cCopy full SHA for d33545c
examples/server/server.cpp
@@ -3485,6 +3485,9 @@ int main(int argc, char ** argv) {
3485
// llama-server-one START
3486
// This implements an args file feature inspired by llamafile's.
3487
#ifdef COSMOCC
3488
+ // Keep the build from showing up as ape in the process list.
3489
+ pthread_setname_np(pthread_self(), "llama-server-one");
3490
+
3491
// Args files if present. The names are different to remove confusion during packaging.
3492
const std::string& argsFilename = "llama-server-one-args";
3493
const std::string& zipArgsFilename = "/zip/default-args";
0 commit comments