diff options
| author | Ted Ross <tross@apache.org> | 2013-02-28 01:05:17 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2013-02-28 01:05:17 +0000 |
| commit | 2aa1ce3eab71768e425d4c5b08ce1ee50a506ce6 (patch) | |
| tree | 7486799df7b79f29d85a10114f31a888d3d13c40 /qpid/extras/dispatch/include | |
| parent | 8ba26143ef15381faefada81906b64f83cb09403 (diff) | |
| download | qpid-python-2aa1ce3eab71768e425d4c5b08ce1ee50a506ce6.tar.gz | |
NO-JIRA - Added non-blocking server-start for when the application want to keep its own
main thread.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1451069 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/extras/dispatch/include')
| -rw-r--r-- | qpid/extras/dispatch/include/qpid/dispatch/server.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/qpid/extras/dispatch/include/qpid/dispatch/server.h b/qpid/extras/dispatch/include/qpid/dispatch/server.h index 635e1323dd..0fb746f4a8 100644 --- a/qpid/extras/dispatch/include/qpid/dispatch/server.h +++ b/qpid/extras/dispatch/include/qpid/dispatch/server.h @@ -68,7 +68,7 @@ void dx_server_set_start_handler(dx_thread_start_cb_t start_handler, void *conte /** - * \brief Run the server threads until completion. + * \brief Run the server threads until completion - The blocking version. * * Start the operation of the server, including launching all of the worker threads. * This function does not return until after the server has been stopped. The thread @@ -78,6 +78,14 @@ void dx_server_run(void); /** + * \brief Start the server threads and return immediately. + * + * Start the operation of the server, including launching all of the worker threads. + */ +void dx_server_start(void); + + +/** * \brief Stop the server * * Stop the server and join all of its worker threads. This function may be called from any |
