summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2022-01-01 01:04:45 +0000
committerPaul Buetow <paul@buetow.org>2022-01-01 01:04:45 +0000
commit68eb5c0e9699c9ef57ff14b5a50308a3a52c16f8 (patch)
treee243851a3c431975f82c5fa54b1da292075ab66a
parent845f55b96d15b50cf0741f07d9db91153812af06 (diff)
new idea on forking queue
-rw-r--r--IDEA.md10
1 files changed, 9 insertions, 1 deletions
diff --git a/IDEA.md b/IDEA.md
index 76faf88..5da8005 100644
--- a/IDEA.md
+++ b/IDEA.md
@@ -1,4 +1,12 @@
-# Also generate a PDF book
+# IDEAs
+
+## Parallel job processing queue
+
+Currently, in order to speed up, Gemtexter forks on certain functions and loops and joins (via `wait`) on the sub-processes. This however can be a problem once a user max process limit is reached.
+
+Use s.t. like `pgrep -c -P$$` to determine how many sub-processes are already active and wait for new forks until a lower limit is reached.
+
+## Also generate a PDF book
I could use pandoc for this (convert from Markdown to PDF). This works on Fedora Linux 34: