interlocked_decrement
September 14, 2025 ยท View on GitHub
Shows how to use xtd::threading::interlocked::decrement and xtd::threading::interlocked::increment methods.
Sources
Build and run
Open "Command Prompt" or "Terminal". Navigate to the folder that contains the project and type the following:
xtdc run
Output
unsafe_instance_count: 253
safe_instance_count: 0