Wed, 13 Jun 2007 04:32:12 +0000
Setup management of socket create/close.
Recognized new bug: cannot create threads within threads... C contains reference to closed thread, not
global.
/* LuaEvent - Copyright (C) 2007 Thomas Harning <harningt@gmail.com> * Licensed as LGPL - See doc/COPYING for details */ #ifndef LUAEVENT_H #define LUAEVENT_H #include <lua.h> #include <sys/types.h> #include <sys/time.h> #include <event.h> typedef struct { struct event ev; lua_State* L; int callbackRef; int objectRef; /* TEMP */ } le_callback; int luaopen_luaevent(lua_State* L); #endif