#include <atomic.hpp>
◆ atomic_long_test()
acl::atomic_long_test::atomic_long_test |
( |
void |
| ) |
|
|
inline |
◆ ~atomic_long_test()
acl::atomic_long_test::~atomic_long_test |
( |
void |
| ) |
|
|
inline |
◆ run()
void acl::atomic_long_test::run |
( |
void |
| ) |
|
|
inline |
在文件 atomic.hpp 第 133 行定义.
136 long long n = count_++;
137 printf(
">>n=%lld\r\n", n);
140 printf(
">>n=%lld\r\n", n);
143 printf(
">>n=%lld\r\n", n);
146 printf(
">>n=%lld\r\n", n);
149 printf(
">>n=%lld\r\n", n);
152 printf(
">>n=%lld\r\n", n);
156 printf(
">>n=%lld\r\n", n);
158 printf(
">>count > 1 ? %s\r\n", count_ >= 1 ?
"yes" :
"no");
159 printf(
">>1 > count ? %s\r\n", 1 > count_ ?
"yes" :
"no");
164 printf(
">>n=%lld\r\n", n);
被这些函数引用 acl::atomic_long_test::mythread::run().
◆ test()
static void acl::atomic_long_test::test |
( |
void |
| ) |
|
|
inlinestatic |
该类的文档由以下文件生成: