producer.lua
Код: Выделить всё
local shmem = require("shmem")
local mem = shmem.new(1024)
body = "some kind of test"
mem:write(body)
Код: Выделить всё
Подробнее здесь: [url]https://stackoverflow.com/questions/79283803/use-same-shared-memory-unit-from-lua-and-php[/url]
Мобильная версия