|
UCommon
|
Common thread shared data types we will use. More...
#include <ucommon/cpr.h>#include <ucommon/atomic.h>#include <ucommon/protocols.h>#include <ucommon/object.h>#include <ucommon/typeref.h>#include <ucommon/thread.h>#include <ucommon/socket.h>Go to the source code of this file.
Namespaces | |
| namespace | ucommon |
| Common namespace for all ucommon objects. | |
Functions | |
| class | ucommon::__attribute__ ((visibility("default"))) ExclusiveProtocol |
| An exclusive locking protocol interface base. | |
| template<typename T > | |
| bool | ucommon::mapped_keyequal (const T *key1, const T *key2) |
| template<> | |
| bool | ucommon::mapped_keyequal< char > (const char *k1, const char *k2) |
| template<> | |
| bool | ucommon::mapped_keyequal< struct sockaddr > (const struct sockaddr *s1, const struct sockaddr *s2) |
| template<typename T > | |
| size_t | ucommon::mapped_keypath (const T *addr) |
| template<> | |
| size_t | ucommon::mapped_keypath< char > (const char *addr) |
| template<> | |
| size_t | ucommon::mapped_keypath< struct sockaddr > (const struct sockaddr *addr) |
Common thread shared data types we will use.
This is for specialized data types that include locking to be thread-safe.
Definition in file shared.h.