93 for(
size_t i = 0; i <
entry->push_idx; ++i) {
94 if(
entry->queues[i] == svc_queue) {
95 logw(
"sd",
"Tried to register queue for service %s a second time!", uuid_s);
121 unsigned success = 0;
123 for(
size_t i = 0; i <
entry->push_idx; ++i) {
void * memcpy(void *dest, void const *source, size_t size)
void * memset(void *dest, int c, size_t size)
#define logd(component, fmt,...)
#define logw(component, fmt,...)
uint64_t mq_push(uint64_t mq, struct Message *message)
volatile pid_t scheduler_current_process
static struct sd sd_global_data
mq_id_t queues[(4080 - sizeof(uuid_t) - sizeof(size_t) -(sizeof(struct sd_entry *) *2))/sizeof(mq_id_t)]
int64_t sd_send(uuid_t *uuid, struct Message *msg)
struct sd_entry * entry_shortcut[256]
uint64_t sd_register(uuid_t *uuid, mq_id_t svc_queue)
static struct sd_entry * new_sd_entry(uuid_t *uuid, mq_id_t queue)
void *(* alloc)(struct allocator *alloc, size_t size)
static bool uint64_t queue
uuid_key_t uuid_key(uuid_t *uuid)
size_t uuid_fmt(char *buffer, size_t len, uuid_t *uuid)
int uuid_cmp(uuid_t *a, uuid_t *b)