helos1/smp/channel_internal.h

12 lines
226 B
C
Raw Normal View History

2021-11-14 19:25:18 +08:00
#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;