diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2013-02-26 04:54:45 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2013-02-26 04:54:45 +0000 |
| commit | 772a6bef0de2dcf0b7d9d596ce86f1def4d1f03e (patch) | |
| tree | a9e3be8f50309fe06c8c1d01092e6fc0d9c5b82d /src/test | |
| parent | f342b82c4bf125c7cb478160bf011e571c317726 (diff) | |
| download | libbu++-772a6bef0de2dcf0b7d9d596ce86f1def4d1f03e.tar.gz libbu++-772a6bef0de2dcf0b7d9d596ce86f1def4d1f03e.tar.bz2 libbu++-772a6bef0de2dcf0b7d9d596ce86f1def4d1f03e.tar.xz libbu++-772a6bef0de2dcf0b7d9d596ce86f1def4d1f03e.zip | |
Added auto-lock classes to the Bu::ReadWriteMutex, I think I like that type of
encapsulation, at least for the read/write guy. Also started work on a
thread-safe wrapper for the standard hash. There is a lot of functionality we
just have to leave out in this, it's just too dangerous in a thread-safe class.
Diffstat (limited to '')
| -rw-r--r-- | src/tests/synchrohash.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tests/synchrohash.cpp b/src/tests/synchrohash.cpp new file mode 100644 index 0000000..7f6dbd1 --- /dev/null +++ b/src/tests/synchrohash.cpp | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | #include <bu/synchrohash.h> | ||
| 2 | |||
| 3 | int main() | ||
| 4 | { | ||
| 5 | Bu::SynchroHash<int, char *> Things; | ||
| 6 | } | ||
| 7 | |||
