Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

550 B
Raw Blame
#pragma once
#include "FreeRTOS.h"
typedef struct host_mutex *SemaphoreHandle_t;
SemaphoreHandle_t xSemaphoreCreateMutex(void);
BaseType_t xSemaphoreTake(SemaphoreHandle_t m, TickType_t wait);
BaseType_t xSemaphoreGive(SemaphoreHandle_t m);
SemaphoreHandle_t xSemaphoreCreateRecursiveMutex(void);
BaseType_t xSemaphoreTakeRecursive(SemaphoreHandle_t m, TickType_t wait);
BaseType_t xSemaphoreGiveRecursive(SemaphoreHandle_t m);
#include "task.h"
TaskHandle_t xSemaphoreGetMutexHolder(SemaphoreHandle_t m);
void vSemaphoreDelete(SemaphoreHandle_t m);