aboutsummaryrefslogtreecommitdiff
path: root/zencore/mpscqueue.cpp
blob: 29c76c3caab4feaa17460c43856cb540268c6106 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright Epic Games, Inc. All Rights Reserved.

#include <zencore/mpscqueue.h>

#include <zencore/testing.h>
#include <string>

namespace zen {

#if ZEN_WITH_TESTS && 0
TEST_CASE("mpsc")
{
	MpscQueue<std::string> Queue;
	Queue.Enqueue("hello");
	std::optional<std::string> Value = Queue.Dequeue();
	CHECK_EQ(Value, "hello");
}
#endif

void
mpscqueue_forcelink()
{
}

}  // namespace zen