From ed770f4485c6064099a2c4932eee63addd48eee9 Mon Sep 17 00:00:00 2001 From: yury Date: Tue, 6 Jan 2015 11:20:20 +0000 Subject: [PATCH] * Use threadvar for the module name buffer to be thread-safe. git-svn-id: trunk@29422 - --- rtl/android/dlandroid.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtl/android/dlandroid.inc b/rtl/android/dlandroid.inc index 375cf27fc4..a6552bfdc6 100644 --- a/rtl/android/dlandroid.inc +++ b/rtl/android/dlandroid.inc @@ -2,7 +2,7 @@ // On Android the dladdr() function does not return full path to modules. // Emulate dladdr() by reading the /proc/self/maps to get full path to modules. -var +threadvar _ModuleName: ansistring; function dladdr(Lib: pointer; info: Pdl_info): Longint; cdecl;