diff options
author | Dwayne M. Hubbard <dwayne.hubbard@gmail.com> | 2008-05-03 03:40:32 +0000 |
---|---|---|
committer | Dwayne M. Hubbard <dwayne.hubbard@gmail.com> | 2008-05-03 03:40:32 +0000 |
commit | b0b72e89a8935de1fbfac3445a1c231a050d047d (patch) | |
tree | 9e22e4d92fb615007c0c43c3c517d6593731b7b9 /main/Makefile | |
parent | b46a0bb19af1648415b966963d015b5792b20a42 (diff) |
A taskprocessor is an object that has a name, a task queue, and an event processing thread. Modules reference a taskprocessor, push tasks into the taskprocessor as needed, and unreference the taskprocessor when the taskprocessor is no longer needed.
A task wraps a callback function pointer and a data pointer and is managed internal to the taskprocessor subsystem. The callback function is responsible for releasing task data.
Taskprocessor API
* ast_taskprocessor_get(..) - returns a reference to a taskprocessor
* ast_taskprocessor_unreference(..) - releases reference to a taskprocessor
* ast_taskprocessor_push(..) - push a task into a taskprocessor queue
Check doxygen for more details
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115268 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/Makefile')
-rw-r--r-- | main/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/Makefile b/main/Makefile index 976c37b14..51fe901c6 100644 --- a/main/Makefile +++ b/main/Makefile @@ -30,7 +30,7 @@ OBJS= tcptls.o io.o sched.o logger.o frame.o loader.o config.o channel.o \ cryptostub.o sha1.o http.o fixedjitterbuf.o abstract_jb.o \ strcompat.o threadstorage.o dial.o event.o adsistub.o audiohook.o \ astobj2.o hashtab.o global_datastores.o $(RESAMPLE_OBJS) version.o \ - features.o + features.o taskprocessor.o # we need to link in the objects statically, not as a library, because # otherwise modules will not have them available if none of the static |