提交 fc208bb0 authored 作者: Andrew Thompson's avatar Andrew Thompson

Use our own memory pool instead of the sessions


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14652 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 8a753a4f
......@@ -36,6 +36,7 @@ typedef enum {
LFLAG_WAITING_FOR_PID = (1 << 0), /* waiting for a node to return a pid */
LFLAG_OUTBOUND_INIT = (1 << 1), /* Erlang peer has been notified of this session */
LFLAG_SESSION_ALIVE = (1 << 2),
LFLAG_SESSION_COMPLETE = (1 << 3),
} session_flag_t;
typedef enum {
......@@ -61,6 +62,7 @@ struct session_elem {
struct erlang_process process;
switch_queue_t *event_queue;
switch_channel_state_t channel_state;
switch_memory_pool_t *pool;
struct session_elem *next;
};
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论