blob: e959c7ce4d2d7e4d6e08b1299598528b5d752338 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#if !defined( __keeper_h__)
#define __keeper_h__ 1
struct s_Keeper
{
MUTEX_T lock_;
lua_State *L;
//int count;
};
const char *init_keepers( int const _nbKeepers);
struct s_Keeper *keeper_acquire( const void *ptr);
void keeper_release( struct s_Keeper *K);
int keeper_call( lua_State *K, char const *func_name, lua_State *L, void *linda, uint_t starting_index);
void close_keepers(void);
#endif // __keeper_h__
|