From f7fcae52892f1826b029be8157c29d1347352070 Mon Sep 17 00:00:00 2001 From: Don Stewart <dons@cse.unsw.edu.au> Date: Sun, 5 Jun 2005 02:17:01 +0000 Subject: [PATCH] Warn about using eval from a thread --- docs/hs-plugins.tex | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/hs-plugins.tex b/docs/hs-plugins.tex index f3772a9..056130f 100644 --- a/docs/hs-plugins.tex +++ b/docs/hs-plugins.tex @@ -848,6 +848,12 @@ int main(int argc, char *argv[]) \end{verbatim} \end{quote} +\subsection{Notes} + +Be careful if you're calling eval from a forked thread. This can +introduce races between the thread and the forked process used by eval +to compile its code. + \subsection{Eval.Printf} It has been noted that \code{printf} format strings are the concrete syntax