windows....sigh

This commit is contained in:
2026-03-26 12:08:55 +01:00
parent 8fe7e726a4
commit b23365b05f
15 changed files with 499 additions and 128 deletions

View File

@@ -4,6 +4,7 @@
#include <stdlib.h>
class ShmApi;
class ShmSemApi;
typedef int ShmPlace;
typedef int ShmSlot;
@@ -12,9 +13,7 @@ typedef int ShmSlot;
class ShmSem {
private:
void *_sem;
char *_name;
bool _owner;
ShmSemApi *_api;
public:
void post();
@@ -44,6 +43,9 @@ public:
public:
ShmSem *sem(const char *name, bool owner);
public:
bool isValid();
public:
const char *name();