#include "ros1_cpptemplate/atomic_fibonacci.hpp"
#include <sstream>
#include <iostream>
#include <atomic>
#include <vector>
#include <thread>
#include <chrono>
#include <ros/console.h>
Go to the source code of this file.
Typedefs | |
typedef std::shared_ptr < std::atomic< bool > > | FlagPtr |
Functions | |
int | argToInt (char *arg) |
void | callFibonacci (AtomicFibonacciPtr atomic_fibonacci, std::atomic< bool > &start_flag) |
int | main (int argc, char **argv) |
typedef std::shared_ptr<std::atomic<bool> > FlagPtr |
Definition at line 16 of file multithread_fibonacci_call.cpp.
int argToInt | ( | char * | arg | ) |
Definition at line 18 of file multithread_fibonacci_call.cpp.
void callFibonacci | ( | AtomicFibonacciPtr | atomic_fibonacci, |
std::atomic< bool > & | start_flag | ||
) |
Definition at line 30 of file multithread_fibonacci_call.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 41 of file multithread_fibonacci_call.cpp.