aboutsummaryrefslogtreecommitdiff
path: root/module/hnh/util/env.scm
diff options
context:
space:
mode:
Diffstat (limited to 'module/hnh/util/env.scm')
-rw-r--r--module/hnh/util/env.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/hnh/util/env.scm b/module/hnh/util/env.scm
index ca0e5ea8..18ec0543 100644
--- a/module/hnh/util/env.scm
+++ b/module/hnh/util/env.scm
@@ -22,6 +22,8 @@
env-pairs))))]))
+;; TODO this probably isn't threadsafe... pthreads(7) notes
+;; that chdir is shared between all threads.
(define-syntax-rule (with-working-directory directory thunk)
(let ((old-cwd #f))
(dynamic-wind