On 18.02.2025 01:17, Chris M. Thomasson wrote:[...]
This is a little C++20 test using a futex to allow one to wait on a
lock-free stack. The main stack logic is in struct ct_stack. Well, can
you get to compile and run? Thanks...
Seamed to work fine, but compilation produced some warnings about the CT_WAIT macro.
Shutdown complete!
ct_shared::~ct_shared()
^^^^^^^^^^^^^^^^g_ct_work_alloations = 10000042
g_ct_work_dealloations = 10000042
Fin!
_______________________
Well, any luck?
Sysop: | DaiTengu |
---|---|
Location: | Appleton, WI |
Users: | 1,029 |
Nodes: | 10 (1 / 9) |
Uptime: | 182:28:16 |
Calls: | 13,337 |
Calls today: | 4 |
Files: | 186,574 |
D/L today: |
5,519 files (1,528M bytes) |
Messages: | 3,356,613 |