From 796ebd3c5491a607059d8a7db489fefb5731cb4d Mon Sep 17 00:00:00 2001 From: Nat Goodspeed Date: Thu, 23 May 2024 11:41:28 -0400 Subject: Fix test program termination crash. --- indra/llcommon/lockstatic.cpp | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 indra/llcommon/lockstatic.cpp (limited to 'indra/llcommon/lockstatic.cpp') diff --git a/indra/llcommon/lockstatic.cpp b/indra/llcommon/lockstatic.cpp new file mode 100755 index 0000000000..b647208724 --- /dev/null +++ b/indra/llcommon/lockstatic.cpp @@ -0,0 +1,26 @@ +/** + * @file lockstatic.cpp + * @author Nat Goodspeed + * @date 2024-05-23 + * @brief Implementation for lockstatic. + * + * $LicenseInfo:firstyear=2024&license=viewerlgpl$ + * Copyright (c) 2024, Linden Research, Inc. + * $/LicenseInfo$ + */ + +// Precompiled header +#include "linden_common.h" +// associated header +#include "lockstatic.h" +// STL headers +// std headers +// external library headers +// other Linden headers +#include "llerror.h" +#include "stringize.h" + +void llthread::LockStaticBase::throwDead(const char* mangled) +{ + LLTHROW(Dead(stringize(LLError::Log::demangle(mangled), " called after cleanup()"))); +} -- cgit v1.2.3 From 03d7f2b84daf9ab991de6cad7d6149abda1ef716 Mon Sep 17 00:00:00 2001 From: Nat Goodspeed Date: Wed, 28 Aug 2024 21:16:56 -0400 Subject: Ditch trailing spaces. --- indra/llcommon/lockstatic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/llcommon/lockstatic.cpp') diff --git a/indra/llcommon/lockstatic.cpp b/indra/llcommon/lockstatic.cpp index b647208724..f531ef331e 100755 --- a/indra/llcommon/lockstatic.cpp +++ b/indra/llcommon/lockstatic.cpp @@ -3,7 +3,7 @@ * @author Nat Goodspeed * @date 2024-05-23 * @brief Implementation for lockstatic. - * + * * $LicenseInfo:firstyear=2024&license=viewerlgpl$ * Copyright (c) 2024, Linden Research, Inc. * $/LicenseInfo$ -- cgit v1.2.3