10 lines
390 B
C
10 lines
390 B
C
|
|
// free_remote_box.h - Box: Cross-thread free to remote queue (transition publishes)
|
||
|
|
#pragma once
|
||
|
|
#include <stdint.h>
|
||
|
|
#include "hakmem_tiny_superslab.h"
|
||
|
|
|
||
|
|
// Performs remote push. On transition (0->nonzero), publishes via Ready/Mailbox.
|
||
|
|
// Returns 1 if transition occurred, 0 otherwise.
|
||
|
|
int tiny_free_remote_box(SuperSlab* ss, int slab_idx, TinySlabMeta* meta, void* ptr, uint32_t my_tid);
|
||
|
|
|