diff --git a/configure b/configure index 46c7e0f469acdc00929e46db7899db462bf63a72..440c4c2844dad8c136d117db7a1a0e533f16b3ba 100755 --- a/configure +++ b/configure @@ -15935,6 +15935,7 @@ LKT_CONFIG_RESULT=" # # Configure run on..... $(date) # Compiler C........... $(basename $CC) +# Version.............. mk7.$(git -C $LKT_PATH_SOURCE rev-list --count HEAD).$(git -C $LKT_PATH_SOURCE rev-parse --short HEAD) # ### Build options # @@ -15948,6 +15949,7 @@ LKT_CONFIG_RESULT=" # Debug enabled........ $LKT_DEBUG_ENABLED # Prefix............... $prefix # Build folder......... $PWD +# Source folder........ $LKT_PATH_SOURCE # Endianes............. $(test $LKT_ENDIANES_LITTLE = 1 && echo little || echo big) # ########################################### diff --git a/configure.ac b/configure.ac index e6212db7bd6e6cd306ee96db9a6f5c1fe944797d..8f32808d1692d4c87b189b394bdb6276d3d82f64 100644 --- a/configure.ac +++ b/configure.ac @@ -154,6 +154,7 @@ LKT_CONFIG_RESULT=" # # Configure run on..... $(date) # Compiler C........... $(basename $CC) +# Version.............. mk7.$(git -C $LKT_PATH_SOURCE rev-list --count HEAD).$(git -C $LKT_PATH_SOURCE rev-parse --short HEAD) # ### Build options # @@ -167,6 +168,7 @@ LKT_CONFIG_RESULT=" # Debug enabled........ $LKT_DEBUG_ENABLED # Prefix............... $prefix # Build folder......... $PWD +# Source folder........ $LKT_PATH_SOURCE # Endianes............. $(test $LKT_ENDIANES_LITTLE = 1 && echo little || echo big) # ########################################### diff --git a/inc/lektor/config.def b/inc/lektor/config.def index 5f1f447301ca10f030c582ec7d926b9b6a8d2f70..8c442b0174fc5749145561b10e4186218a738fca 100644 --- a/inc/lektor/config.def +++ b/inc/lektor/config.def @@ -9,13 +9,15 @@ value("port", "6600") value("max_clients", "16") section("database") -value("kara_dir", "/home/kara") +value("kara_dir", "/home/kara") /* All the folder and sub folder + must be on the same partition */ value("db_path", "/home/kara/kara.db") section("repo") +value("obfuscate", "1") value("module", "repo") value("name", "Kurisu") -value("workers_count", "5") +value("workers_count", "2") value("url", "https://kurisu.iiens.net") value("json", "https://kurisu.iiens.net/api") value("id_json", "https://kurisu.iiens.net/api?id=%ld") diff --git a/man/footer b/man/footer index ec6a4acee7b6427a7f400e4ac2b6dad4d42fc3cc..eb9fa8fb1461c3d1c7dc1e8bc5d45f8e4eedb43b 100644 --- a/man/footer +++ b/man/footer @@ -10,11 +10,9 @@ .SH "SEE ALSO" \fIlektor\fP(1), \fIlektord\fP(1), -\fIlktadm\fP(1), \fIlkt\fP(1), \fImpc\fP(1), -\fImpd\fP(1), -\fImeson\fP(1) +\fImpd\fP(1) .PP \fBIEEE Standard for information Technology \- Portable Operating System Interface (POSIX)\fP diff --git a/man/lektor.template b/man/lektor.template index c9e36090c651003379a6c6c0a2a8106b5ce479ec..10bd44e9f8be6e229891843ea6b53a1e223a0756 100644 --- a/man/lektor.template +++ b/man/lektor.template @@ -129,9 +129,16 @@ you do so. Some functions are mendatory for a module: +.PP +.PD 0 +.TP +.PD - The \fBnew(void **)\fP function creates the module +.TP - The \fBfree(void **)\fP release the module, it \fIcan't\fP be used after +.TP - The \fBclose(void **)\fP close the module, it \fIcan\fP be used after +.PP All exported functions must take a \fBva_list\fP. The first argument of the \fBva_list\fP is a \fBvoid **\fP, which point to the pointer used to access the diff --git a/src/module/worker.c b/src/module/worker.c index 7b23b70cb70dabaadbe2c1c3692b1712ac05a246..070bcd53fce533a2d929d89007eaa516a1401f27 100644 --- a/src/module/worker.c +++ b/src/module/worker.c @@ -29,7 +29,7 @@ __worker_thread(void *__pool) break; } else { assert(!pthread_mutex_unlock((pthread_mutex_t *) &pool->lock)); - sched_yield(); + sleep(1); continue; }