MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / c_api_create

Method c_api_create

tests/unittests/unittests.cpp:4490–4498  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4488
4489
4490 bool c_api_create()
4491 {
4492 MoodycamelCQHandle handle;
4493 int rc = moodycamel_cq_create(&handle);
4494 ASSERT_OR_FAIL(rc == 1);
4495 ASSERT_OR_FAIL(handle != nullptr);
4496 moodycamel_cq_destroy(handle);
4497 return true;
4498 }
4499
4500 bool c_api_enqueue()
4501 {

Callers

nothing calls this directly

Calls 2

moodycamel_cq_createFunction · 0.85
moodycamel_cq_destroyFunction · 0.85

Tested by

no test coverage detected