diff options
author | lake4790k <lake4790k@users.noreply.github.com> | 2016-05-14 19:12:37 +0300 |
---|---|---|
committer | lake4790k <lake4790k@users.noreply.github.com> | 2016-05-14 19:12:37 +0300 |
commit | 18e0c0698526d7f9400e44a35374e0d227e07414 (patch) | |
tree | 05af1c0fc7bbc37565210ea1ce24df7e44472052 /README.md | |
parent | d774ae79aed1b7f07ff49749847999e74a0e6caa (diff) |
add test to travis and docs
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -134,6 +134,7 @@ The library provides different low-level and high-level threading capabilities. * [Thread](#thread): a single thread with no artifice ; * [Mutex](#mutex): a thread mutex ; * [Condition](#condition): a condition variable. + * [Atomic counter](#atomic): lock free atomic counter Soon some more high-level features will be proposed, built on top of Threads. @@ -474,3 +475,8 @@ Raise the condition signal. #### Condition.free() #### Free given condition. + +<a name ='atomic'> +### Atomic counter ### + +`tds.AtomicCounter` has been implemented to be used with `sharedserialize` to provide fast and safe lockless counting of progress (steps) between threads. See [example](test/test-atomic.lua) for usage. |