Module: sip-router
Branch: master
Commit: 58796a4ea5615e4015833d08b979b3cd99b7b5a5
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=58796a4…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Sun Jun 26 00:43:57 2011 +0200
async: new module for asynchronous config operations
- exports async_sleep(seconds) - sleep asynchronously and continue the
exection after the seconds interval has passed
- it uses t_suspend()/t_continue()
- config execution state is lost, so a return at the same level with
async_sleep() will exit the config execution
---
modules/async/Makefile | 12 +++
modules/async/async_mod.c | 171 +++++++++++++++++++++++++++++++++++++++
modules/async/async_sleep.c | 187 +++++++++++++++++++++++++++++++++++++++++++
modules/async/async_sleep.h | 49 +++++++++++
4 files changed, 419 insertions(+), 0 deletions(-)
Diff:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=587…