diff options
author | ivan <ivan@13f79535-47bb-0310-9956-ffa450edef68> | 2023-01-21 16:13:27 +0000 |
---|---|---|
committer | ivan <ivan@13f79535-47bb-0310-9956-ffa450edef68> | 2023-01-21 16:13:27 +0000 |
commit | e786a4b14c92e628ae3964d27f78759446a0b456 (patch) | |
tree | 6b009aab810e5a22ec6ff0c167af99b0dd5e733e /threadproc/os2/thread.c | |
parent | f4a4ec18a1c723f22250bc2aeb6ca58e54bb265d (diff) | |
download | libapr-e786a4b14c92e628ae3964d27f78759446a0b456.tar.gz |
Merge thread-name branch (PR 60587) [1]:
* Introduce apr_thread_name_set() and apr_thread_name_get().
[1] https://bz.apache.org/bugzilla/show_bug.cgi?id=60587
[2] https://lists.apache.org/thread/z24logzc6v8tc0p2q3375cc10qo9y5yw
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1906889 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc/os2/thread.c')
-rw-r--r-- | threadproc/os2/thread.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/threadproc/os2/thread.c b/threadproc/os2/thread.c index 32acb3704..1ea7954dc 100644 --- a/threadproc/os2/thread.c +++ b/threadproc/os2/thread.c @@ -261,6 +261,20 @@ APR_DECLARE(apr_status_t) apr_thread_detach(apr_thread_t *thd) return APR_SUCCESS; } +APR_DECLARE(apr_status_t) apr_thread_name_set(const char *name, + apr_thread_t *thread, + apr_pool_t *pool) +{ + return APR_ENOTIMPL; +} + +APR_DECLARE(apr_status_t) apr_thread_name_get(char ** name, + apr_thread_t *thread, + apr_pool_t *pool) +{ + return APR_ENOTIMPL; +} + void apr_thread_yield() |