mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-22 22:40:02 +02:00
WIP shm deletion working on blackfin
This commit is contained in:
parent
6136eabee2
commit
3e87cfa5c1
@ -1,6 +1,5 @@
|
||||
#pragma once
|
||||
#include "sls_detector_defs.h"
|
||||
#include <semaphore.h>
|
||||
|
||||
void sharedMemory_print();
|
||||
int sharedMemory_create(int port);
|
||||
|
@ -6,11 +6,12 @@
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/shm.h>
|
||||
#include <unistd.h>
|
||||
#include <semaphore.h>
|
||||
|
||||
#define SHM_NAME "sls_server_shared_memory"
|
||||
#define SHM_VERSION 0x200625
|
||||
#define SHM_KEY 5678
|
||||
#define MEM_SIZE 128
|
||||
#define MEM_SIZE 128
|
||||
|
||||
typedef struct Memory {
|
||||
int version;
|
||||
|
Loading…
x
Reference in New Issue
Block a user