diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-05-10 19:24:40 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-05-10 19:24:40 +0000 |
commit | 50a501dbe89ec8f9a76540015890dd361f1ec8a1 (patch) | |
tree | a45dac4292320647ed297b35239fccf38eb5885b /pjlib/include/pj/os.h | |
parent | 5f10c756ac9d5f48efe2adbcccf5d54634540d61 (diff) |
Merge-in RTEMS port patch by Phil Torre <ptorre@zetron.com>, alpha release.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@433 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include/pj/os.h')
-rw-r--r-- | pjlib/include/pj/os.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/pjlib/include/pj/os.h b/pjlib/include/pj/os.h index 991dacd0..439b0864 100644 --- a/pjlib/include/pj/os.h +++ b/pjlib/include/pj/os.h @@ -59,12 +59,6 @@ typedef enum pj_thread_create_flags /** - * Specify this as \a stack_size argument in #pj_thread_create() to specify - * that thread should use default stack size for the current platform. - */ -#define PJ_THREAD_DEFAULT_STACK_SIZE 0 - -/** * Type of thread entry function. */ typedef int (PJ_THREAD_FUNC pj_thread_proc)(void*); @@ -161,12 +155,13 @@ PJ_DECL(pj_status_t) pj_thread_resume(pj_thread_t *thread); PJ_DECL(pj_thread_t*) pj_thread_this(void); /** - * Join thread. - * This function will block the caller thread until the specified thread exits. + * Join thread, and block the caller thread until the specified thread exits. + * If the specified thread has already been dead, or it does not exist, + * the function will return immediately with successfull status. * * @param thread The thread handle. * - * @return zero on success. + * @return PJ_SUCCESS on success. */ PJ_DECL(pj_status_t) pj_thread_join(pj_thread_t *thread); |