Tagged articles

Global Variable

5 articles · Page 1 of 1
Liangxu Linux
Liangxu Linux
Feb 13, 2025 · Fundamentals

Mastering C++ static Variables: Lifetime, Scope, and Practical Examples

This article explains the C++ static keyword, detailing how static variables extend lifetime across function calls, the differences between static local and global variables, and provides clear code examples illustrating their behavior and proper usage.

C++Global VariableProgramming Fundamentals
0 likes · 7 min read
Mastering C++ static Variables: Lifetime, Scope, and Practical Examples
FunTester
FunTester
Jul 19, 2020 · Operations

How to Build a Thread‑Safe Global Counter in JMeter with Groovy

This guide explains how to create a globally unique, auto‑incrementing variable in JMeter by using a synchronized Groovy script that leverages the built‑in props object, demonstrates setting an initial value, and compares locked versus unlocked execution results.

Global VariableGroovyJMeter
0 likes · 8 min read
How to Build a Thread‑Safe Global Counter in JMeter with Groovy
DevOps Cloud Academy
DevOps Cloud Academy
Jun 12, 2018 · Fundamentals

Understanding Shell Global and Local Variables

This article explains how to display and set environment variables in a Unix shell using commands like env and export, and demonstrates the behavior of global and local variables across parent and child shells with practical bash examples.

Global VariableUnixbash
0 likes · 2 min read
Understanding Shell Global and Local Variables