From f86edf3c8e88ffce544e95077fc796ba26b91d84 Mon Sep 17 00:00:00 2001 From: John Clements Date: Fri, 6 Aug 2010 20:41:06 -0400 Subject: [PATCH] added message about OS behavior on (non-)reload of library --- collects/scribblings/foreign/libs.scrbl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/collects/scribblings/foreign/libs.scrbl b/collects/scribblings/foreign/libs.scrbl index e1c6bd7405..ca516e6af9 100644 --- a/collects/scribblings/foreign/libs.scrbl +++ b/collects/scribblings/foreign/libs.scrbl @@ -58,6 +58,10 @@ message that comes from @cpp{dlopen("foo.so")} which will look like the file is not found. In such cases try to specify a full or relative path (containing slashes, e.g., @filepath{./foo.so}).} +Note! Because of the way the operating system performs dynamic binding, +loaded libraries are associated with Racket or DrRacket for the +duration of the process; re-evaluating ffi-lib and/or hitting the "Run" button +will not force a re-load of the corresponding library. @defproc[(get-ffi-obj [objname (or/c string? bytes? symbol?)] [lib (or/c ffi-lib? path-string? #f)]