MySQL 5.6.14 Source Code Document
|
#include "my_config.h"
#include <gtest/gtest.h>
#include <my_global.h>
#include <my_sys.h>
#include <my_atomic.h>
#include "thr_template.cc"
#include <lf.h>
Go to the source code of this file.
Classes | |
union | mysys_lf_unittest::TLA |
Functions | |
void | mysys_lf_unittest::test_concurrently (const char *test, pthread_handler handler, int n, int m) |
pthread_handler_t | mysys_lf_unittest::test_lf_pinbox (void *arg) |
pthread_handler_t | mysys_lf_unittest::test_lf_alloc (void *arg) |
pthread_handler_t | mysys_lf_unittest::test_lf_hash (void *arg) |
void | mysys_lf_unittest::do_tests () |
mysys_lf_unittest::TEST (Mysys, LockFree) |
Variables | |
volatile int32 | mysys_lf_unittest::bad |
pthread_attr_t | mysys_lf_unittest::thr_attr |
mysql_mutex_t | mysys_lf_unittest::mutex |
mysql_cond_t | mysys_lf_unittest::cond |
uint | mysys_lf_unittest::running_threads |
const int | mysys_lf_unittest::THREADS = 30 |
const int | mysys_lf_unittest::CYCLES = 3000 |
int32 | mysys_lf_unittest::inserts = 0 |
int32 | mysys_lf_unittest::N |
LF_ALLOCATOR | mysys_lf_unittest::lf_allocator |
LF_HASH | mysys_lf_unittest::lf_hash |
int | mysys_lf_unittest::with_my_thread_init = 0 |
const int | mysys_lf_unittest::N_TLH = 1000 |
Unit tests for lock-free algorithms of mysys
Definition in file mysys_lf-t.cc.