helos1/smp/channel_internal.h
2021-11-14 19:25:18 +08:00

12 lines
226 B
C

#pragma once
#include "channel.h"
// __smp_Channel_Waiter goes into Channel.send/recv
typedef struct {
void * buffer;
uintptr_t count; // object count, NOT bytes
smp_Condition *cond;
} __smp_Channel_Waiter;