Classes | Functions
test_freelist.cpp File Reference
#include <gtest/gtest.h>
#include "lockfree/free_list.h"
#include <boost/thread.hpp>
#include <set>
#include "ros/time.h"
Include dependency graph for test_freelist.cpp:

Go to the source code of this file.

Classes

struct  PerfCounter
 

Functions

int main (int argc, char **argv)
 
 TEST (FreeList, oneElement)
 
 TEST (FreeList, multipleElements)
 
 TEST (FreeList, multipleThreads)
 
 TEST (FreeList, hasOutstandingAllocations)
 
void threadFunc (FreeList &pool, ros::atomic< bool > &done, ros::atomic< bool > &failed, boost::barrier &b)
 

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 267 of file test_freelist.cpp.

TEST ( FreeList  ,
oneElement   
)

Definition at line 47 of file test_freelist.cpp.

TEST ( FreeList  ,
multipleElements   
)

Definition at line 63 of file test_freelist.cpp.

TEST ( FreeList  ,
multipleThreads   
)

Definition at line 178 of file test_freelist.cpp.

TEST ( FreeList  ,
hasOutstandingAllocations   
)

Definition at line 242 of file test_freelist.cpp.

void threadFunc ( FreeList pool,
ros::atomic< bool > &  done,
ros::atomic< bool > &  failed,
boost::barrier &  b 
)

Definition at line 126 of file test_freelist.cpp.



lockfree
Author(s): Josh Faust
autogenerated on Mon Jun 10 2019 14:44:44