<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libapr.git/threadproc/beos/thread.c, branch master</title>
<subtitle>svn.apache.org: repos/asf/apr/apr
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libapr.git/'/>
<entry>
<title>apr_thread: Follow up to r1897207: apr_thread_current_create() is ENOTIMPL w/o APR_HAS_THREAD_LOCAL.</title>
<updated>2023-03-15T16:29:41+00:00</updated>
<author>
<name>ylavic</name>
<email>ylavic@13f79535-47bb-0310-9956-ffa450edef68</email>
</author>
<published>2023-03-15T16:29:41+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libapr.git/commit/?id=8376d2f681e39c225a0be50ed52d472596cb56b6'/>
<id>8376d2f681e39c225a0be50ed52d472596cb56b6</id>
<content type='text'>
It's useless when !APR_HAS_THREAD_LOCAL since apr_thread_current() can't work.



git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1908417 13f79535-47bb-0310-9956-ffa450edef68
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's useless when !APR_HAS_THREAD_LOCAL since apr_thread_current() can't work.



git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1908417 13f79535-47bb-0310-9956-ffa450edef68
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge thread-name branch (PR 60587) [1]:</title>
<updated>2023-01-21T16:13:27+00:00</updated>
<author>
<name>ivan</name>
<email>ivan@13f79535-47bb-0310-9956-ffa450edef68</email>
</author>
<published>2023-01-21T16:13:27+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libapr.git/commit/?id=e786a4b14c92e628ae3964d27f78759446a0b456'/>
<id>e786a4b14c92e628ae3964d27f78759446a0b456</id>
<content type='text'>
* 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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 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
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove trailing whitespaces in *.c.</title>
<updated>2022-11-20T07:14:38+00:00</updated>
<author>
<name>ivan</name>
<email>ivan@13f79535-47bb-0310-9956-ffa450edef68</email>
</author>
<published>2022-11-20T07:14:38+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libapr.git/commit/?id=a1f2631420b9981cc3acc663801d6bebd7315a4f'/>
<id>a1f2631420b9981cc3acc663801d6bebd7315a4f</id>
<content type='text'>
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1905414 13f79535-47bb-0310-9956-ffa450edef68
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1905414 13f79535-47bb-0310-9956-ffa450edef68
</pre>
</div>
</content>
</entry>
<entry>
<title>apr_thread: Provide apr_threadattr_max_free_set().</title>
<updated>2022-07-14T10:31:22+00:00</updated>
<author>
<name>ylavic</name>
<email>ylavic@13f79535-47bb-0310-9956-ffa450edef68</email>
</author>
<published>2022-07-14T10:31:22+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libapr.git/commit/?id=7613622603b32a4102f6ecdbc1433124c2801f77'/>
<id>7613622603b32a4102f6ecdbc1433124c2801f77</id>
<content type='text'>
When creating a thread, this allows to specify the "max_free" of its pool
allocator (i.e. apr_allocator_max_free_set), so that one can create thread
local subpools and have their memory usage regulated on cleanup/destroy.

One could achieve that already with:
    apr_allocator_max_free_set(apr_thread_pool_get(thread), max_free);
in the thread startup function, but it's more convenient, simpler and race
free to handle that in the thread attribute itself at creation time.



git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1902715 13f79535-47bb-0310-9956-ffa450edef68
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When creating a thread, this allows to specify the "max_free" of its pool
allocator (i.e. apr_allocator_max_free_set), so that one can create thread
local subpools and have their memory usage regulated on cleanup/destroy.

One could achieve that already with:
    apr_allocator_max_free_set(apr_thread_pool_get(thread), max_free);
in the thread startup function, but it's more convenient, simpler and race
free to handle that in the thread attribute itself at creation time.



git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1902715 13f79535-47bb-0310-9956-ffa450edef68
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace tabs to spaces.</title>
<updated>2022-07-08T20:55:13+00:00</updated>
<author>
<name>ivan</name>
<email>ivan@13f79535-47bb-0310-9956-ffa450edef68</email>
</author>
<published>2022-07-08T20:55:13+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libapr.git/commit/?id=e14eabe505f7fd2754677e7aa115a71ec97ae584'/>
<id>e14eabe505f7fd2754677e7aa115a71ec97ae584</id>
<content type='text'>
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1902583 13f79535-47bb-0310-9956-ffa450edef68
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1902583 13f79535-47bb-0310-9956-ffa450edef68
</pre>
</div>
</content>
</entry>
<entry>
<title>apr_thread: Follow up to r1897207: apr_thread_current_create() compilation.</title>
<updated>2022-02-08T19:26:16+00:00</updated>
<author>
<name>ylavic</name>
<email>ylavic@13f79535-47bb-0310-9956-ffa450edef68</email>
</author>
<published>2022-02-08T19:26:16+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libapr.git/commit/?id=87866dd01bdd3d314bdcdfa9a4ddacd671e40150'/>
<id>87866dd01bdd3d314bdcdfa9a4ddacd671e40150</id>
<content type='text'>
Fix compilation of apr_thread_current_create() for OS/2 and Windows.
Set *current to NULL on failure.



git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1897879 13f79535-47bb-0310-9956-ffa450edef68
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix compilation of apr_thread_current_create() for OS/2 and Windows.
Set *current to NULL on failure.



git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1897879 13f79535-47bb-0310-9956-ffa450edef68
</pre>
</div>
</content>
</entry>
<entry>
<title>apr_thread: Follow up to r1897207: Provide apr_thread_current_after_fork().</title>
<updated>2022-01-25T20:14:55+00:00</updated>
<author>
<name>ylavic</name>
<email>ylavic@13f79535-47bb-0310-9956-ffa450edef68</email>
</author>
<published>2022-01-25T20:14:55+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libapr.git/commit/?id=80c6061e61e915ea73fe99938b77b1d212aae881'/>
<id>80c6061e61e915ea73fe99938b77b1d212aae881</id>
<content type='text'>
thread_local variables are not (always?) reset on fork(), so APR (and the
user) needs a way to set the current_thread to NULL.

Use apr_thread_current_after_fork() in apr_proc_fork()'s child process.



git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1897470 13f79535-47bb-0310-9956-ffa450edef68
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
thread_local variables are not (always?) reset on fork(), so APR (and the
user) needs a way to set the current_thread to NULL.

Use apr_thread_current_after_fork() in apr_proc_fork()'s child process.



git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1897470 13f79535-47bb-0310-9956-ffa450edef68
</pre>
</div>
</content>
</entry>
<entry>
<title>apr_thread: Follow up to r1897207: Make APR_HAS_THREAD_LOCAL a boolean..</title>
<updated>2022-01-25T10:53:28+00:00</updated>
<author>
<name>ylavic</name>
<email>ylavic@13f79535-47bb-0310-9956-ffa450edef68</email>
</author>
<published>2022-01-25T10:53:28+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libapr.git/commit/?id=9574bc0c0ed012f77263a1cf719e38dcbb697979'/>
<id>9574bc0c0ed012f77263a1cf719e38dcbb697979</id>
<content type='text'>
.. rather than a defined().



git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1897447 13f79535-47bb-0310-9956-ffa450edef68
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
.. rather than a defined().



git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1897447 13f79535-47bb-0310-9956-ffa450edef68
</pre>
</div>
</content>
</entry>
<entry>
<title>apr_thread: Follow up to r1897207: Don't NULLify current_thread on exit.</title>
<updated>2022-01-25T10:41:15+00:00</updated>
<author>
<name>ylavic</name>
<email>ylavic@13f79535-47bb-0310-9956-ffa450edef68</email>
</author>
<published>2022-01-25T10:41:15+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libapr.git/commit/?id=9743a87cfb23e720a49f519a5882bdd4bed7b87b'/>
<id>9743a87cfb23e720a49f519a5882bdd4bed7b87b</id>
<content type='text'>
It's not needed, when the thread exits it's not accessible anyway.



git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1897445 13f79535-47bb-0310-9956-ffa450edef68
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's not needed, when the thread exits it's not accessible anyway.



git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1897445 13f79535-47bb-0310-9956-ffa450edef68
</pre>
</div>
</content>
</entry>
<entry>
<title>apr_thread: Follow up to r1897179: abort_fn on apr_allocator_create() failure.</title>
<updated>2022-01-24T14:16:04+00:00</updated>
<author>
<name>ylavic</name>
<email>ylavic@13f79535-47bb-0310-9956-ffa450edef68</email>
</author>
<published>2022-01-24T14:16:04+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libapr.git/commit/?id=0a395254577c9b47ac436bd0503a161c7fcc0718'/>
<id>0a395254577c9b47ac436bd0503a161c7fcc0718</id>
<content type='text'>
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1897419 13f79535-47bb-0310-9956-ffa450edef68
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1897419 13f79535-47bb-0310-9956-ffa450edef68
</pre>
</div>
</content>
</entry>
</feed>
