Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
l_ipc.cpp File Reference
#include "lua_api/l_ipc.h"
#include "lua_api/l_internal.h"
#include "common/c_packer.h"
#include "server.h"
#include "debug.h"
#include <chrono>
+ Include dependency graph for l_ipc.cpp:

Typedefs

typedef std::shared_lock< std::shared_mutex > SharedReadLock
 
typedef std::unique_lock< std::shared_mutex > SharedWriteLock
 

Functions

static auto read_pv (lua_State *L, int idx)
 

Typedef Documentation

◆ SharedReadLock

typedef std::shared_lock<std::shared_mutex> SharedReadLock

◆ SharedWriteLock

typedef std::unique_lock<std::shared_mutex> SharedWriteLock

Function Documentation

◆ read_pv()

static auto read_pv ( lua_State * L,
int idx )
inlinestatic

References idx, and script_pack().

Referenced by ModApiIPC::l_ipc_cas(), and ModApiIPC::l_ipc_set().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: