From b0bd74e35e935aa976b68c594def4e8d2c22ef95 Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Sat, 16 Jan 2010 11:20:23 +0100 Subject: Replaced polling loop for LCR and chan_lcr with select based event loop. Now LCR and chan_lcr will not use any CPU until there is work to do. --- joinpbx.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'joinpbx.h') diff --git a/joinpbx.h b/joinpbx.h index 18e38c0..7c05eee 100644 --- a/joinpbx.h +++ b/joinpbx.h @@ -50,7 +50,6 @@ class JoinPBX : public Join JoinPBX(class Endpoint *epoint); ~JoinPBX(); void message_epoint(unsigned int epoint_id, int message, union parameter *param); - int handler(void); int release(struct join_relation *relation, int location, int cause); char j_caller[32]; /* caller number */ @@ -60,7 +59,7 @@ class JoinPBX : public Join int j_multicause, j_multilocation; int j_pid; /* pid of join to generate bridge id */ - int j_updatebridge; /* bridge must be updated */ + struct lcr_work j_updatebridge; /* bridge must be updated */ struct join_relation *j_relation; /* list of endpoints that are related to the join */ int j_partyline; /* if set, join is conference room */ -- cgit v1.2.3-55-g7522