UCommon
shared.h File Reference

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>
Include dependency graph for shared.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ucommon
 Common namespace for all ucommon objects.
 

Functions

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)
 

Detailed Description

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.