#include "test.h"
#include <carla/RecurrentSharedFuture.h>
#include <carla/ThreadGroup.h>
#include <atomic>
Go to the source code of this file.
Functions | |
TEST (recurrent_shared_future, use_case) | |
TEST (recurrent_shared_future, timeout) | |
TEST (recurrent_shared_future, exception) | |
TEST | ( | recurrent_shared_future | , |
use_case | |||
) |
Definition at line 15 of file test_recurrent_shared_future.cpp.
References carla::ThreadGroup::CreateThreads(), carla::ThreadGroup::JoinAll(), carla::RecurrentSharedFuture< T >::SetValue(), and carla::RecurrentSharedFuture< T >::WaitFor().
TEST | ( | recurrent_shared_future | , |
timeout | |||
) |
Definition at line 46 of file test_recurrent_shared_future.cpp.
References carla::RecurrentSharedFuture< T >::WaitFor().
TEST | ( | recurrent_shared_future | , |
exception | |||
) |
Definition at line 53 of file test_recurrent_shared_future.cpp.
References carla::ThreadGroup::CreateThread(), carla::RecurrentSharedFuture< T >::SetException(), and carla::RecurrentSharedFuture< T >::WaitFor().