[UNTESTED] Basic queue and fan-in fabric implementation without full template generalization

This commit is contained in:
2026-01-01 05:17:56 -05:00
commit 0a73580a80
8 changed files with 687 additions and 0 deletions

21
include/weaver/results.h Normal file
View File

@@ -0,0 +1,21 @@
#ifndef THWEAVER_RESULTS_H
#define THWEAVER_RESULTS_H
#include <cstdint>
namespace THWeaver {
enum class EndpointQueueSendResult : uint32_t { Ok = 0, ErrFull = 1 };
enum class EndpointQueueRecvResult { Ok, ErrEmpty };
enum class FanInFabricSendResult : uint32_t { Ok = 0, ErrFull = 1 };
enum class FanInFabricRecvBitmapResult { Ok, ErrBitmapEmpty, ErrBitmapFailed };
enum class FanInFabricRecvTryResult { Ok, ErrTryFailed };
enum class FanInFabricRecvAggrResult { Ok, ErrAggrFailed };
} // namespace THWeaver
#endif