#include "../bson/util/misc.h"#include "concurrency/mutex.h"#include <pthread.h>#include <execinfo.h>

Go to the source code of this file.
Classes | |
| class | mongo::ProgressMeter |
| class | mongo::ProgressMeterHolder |
| struct | mongo::ptr< T > |
| class | mongo::ThreadLocalValue< T > |
| class | mongo::ThreadSafeString |
| class | mongo::TicketHolder |
| class | mongo::TicketHolderReleaser |
| struct | mongo::WrappingInt |
Namespaces | |
| namespace | mongo |
Defines | |
| #define | assert MONGO_assert |
| #define | MONGO_PRINT(x) cout << #x ": " << (x) << endl |
| #define | MONGO_PRINTFL cout << __FILE__ ":" << __LINE__ << endl |
| #define | PRINT MONGO_PRINT |
| #define | PRINTFL MONGO_PRINTFL |
Typedefs | |
| typedef int | mongo::HANDLE |
Functions | |
| void | mongo::dumpmemory (const char *data, int len) |
| bool | mongo::endsWith (const char *p, const char *suffix) |
| unsigned long | mongo::fixEndian (unsigned long x) |
| pthread_t | mongo::GetCurrentThreadId () |
| string | mongo::getThreadName () |
| string | mongo::hexdump (const char *data, unsigned len) |
| bool | mongo::isNumber (char c) |
| bool | mongo::isPrime (int n) |
| int | mongo::lexNumCmp (const char *s1, const char *s2) |
| int | mongo::nextPrime (int n) |
| ostream & | mongo::operator<< (ostream &s, const ThreadSafeString &o) |
| void | mongo::printStackTrace (ostream &o=cout) |
| unsigned | mongo::setThreadName (const char *name) |
| bool | mongo::startsWith (string s, string p) |
| bool | mongo::startsWith (const char *str, const char *prefix) |
| void | mongo::strcpy_s (char *dst, unsigned len, const char *src) |
| unsigned | mongo::stringToNum (const char *str) |
| unsigned long | mongo::swapEndian (unsigned long x) |
| template<class T > | |
| string | mongo::ToString (const T &t) |
| #define MONGO_PRINTFL cout << __FILE__ ":" << __LINE__ << endl |