<feed xmlns='http://www.w3.org/2005/Atom'>
<title>monzero-core.git/src/common/threadpool.cpp, branch v0.14.0.2</title>
<subtitle>Monzero core node, command-line wallet, consensus code, and release tooling.
</subtitle>
<id>https://code.monzero.org/monzero-core.git/atom?h=v0.14.0.2</id>
<link rel='self' href='https://code.monzero.org/monzero-core.git/atom?h=v0.14.0.2'/>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/'/>
<updated>2018-09-27T17:29:02Z</updated>
<entry>
<title>threadpool: do not propagate exceptions through the dtor</title>
<updated>2018-09-27T17:29:02Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2018-09-27T15:14:51Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=ea7f9543817993e22faf94478f07aac746729f73'/>
<id>urn:sha1:ea7f9543817993e22faf94478f07aac746729f73</id>
<content type='text'>
This would call terminate.
We ignore exceptions in pthread_join instead, as this is not
a fatal problem here.

Coverity 182568
</content>
</entry>
<entry>
<title>threadpool: allow leaf functions to run concurrently</title>
<updated>2018-06-26T21:15:22Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2018-04-26T10:44:47Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=2771a18e85bd91dd881f89f6c14d26cba35a1844'/>
<id>urn:sha1:2771a18e85bd91dd881f89f6c14d26cba35a1844</id>
<content type='text'>
Decrease the number of worker threads by one to account
for the fact the calling thread acts as a worker thread now
</content>
</entry>
<entry>
<title>threadpool: allow constructing an object, and misc tweaks</title>
<updated>2018-05-20T11:06:03Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2018-04-23T17:53:38Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=db55263b4c25a5014ce72aa1b601cfdebfe5d176'/>
<id>urn:sha1:db55263b4c25a5014ce72aa1b601cfdebfe5d176</id>
<content type='text'>
use unsigned int to avoid having to range check negative numbers,
use const where possible, don't needlessly create empty objects,
use std::move where possible
</content>
</entry>
<entry>
<title>threadpool: catch exceptions in dtor, to avoid terminate</title>
<updated>2018-02-02T16:27:39Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2018-02-02T16:16:43Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=9b98a6ac8f750f5d786fe9a3a561373ca64e5049'/>
<id>urn:sha1:9b98a6ac8f750f5d786fe9a3a561373ca64e5049</id>
<content type='text'>
If an exception is thrown, it is ignored. While this may hide
a bug, this should only be system exceptions in boost, which
is pretty unlikely. Morever, wait should be called manually
before the dtor anyway. Add an error message if the dtor has
to wait in case some such cases creep in so they get fixed.

Coverity 182538
</content>
</entry>
<entry>
<title>Readd copyright starting date</title>
<updated>2018-01-26T15:03:20Z</updated>
<author>
<name>xmr-eric</name>
<email>eric@moneroeric.com</email>
</author>
<published>2018-01-07T23:55:52Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=84a7f6a4827f5baec6bb5cecbe11d4f61708b520'/>
<id>urn:sha1:84a7f6a4827f5baec6bb5cecbe11d4f61708b520</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update 2018 copyright</title>
<updated>2018-01-26T15:03:20Z</updated>
<author>
<name>xmr-eric</name>
<email>eric@moneroeric.com</email>
</author>
<published>2018-01-07T05:05:16Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=18216f19dd479466cb7fd38f52d23bddfcfd4880'/>
<id>urn:sha1:18216f19dd479466cb7fd38f52d23bddfcfd4880</id>
<content type='text'>
</content>
</entry>
<entry>
<title>threadpool: fix deadlock in recursive waiter usage</title>
<updated>2017-12-23T09:00:43Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2017-12-22T11:27:52Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=c70e8daa91fdcb17791f1c2b6e4119b1ab8074ab'/>
<id>urn:sha1:c70e8daa91fdcb17791f1c2b6e4119b1ab8074ab</id>
<content type='text'>
If a queued job uses a waiter, then we want to run that waiter's
jobs in the current thread if all threads are busy, even if the
queue is empty, since there is no guarantee that any thread will
free up to take care of that new job, since all the threads might
be running a job which spawns such a recursive job and will block
till that recursive job is done, which it will never be since it
relies on the queue being polled by one of those blocked threads.
</content>
</entry>
<entry>
<title>Use max_concurrency as-is</title>
<updated>2017-11-02T16:33:48Z</updated>
<author>
<name>Howard Chu</name>
<email>hyc@symas.com</email>
</author>
<published>2017-10-30T18:06:05Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=6738753b3054aa69a4b585d3d9c1fdbd2b0824d4'/>
<id>urn:sha1:6738753b3054aa69a4b585d3d9c1fdbd2b0824d4</id>
<content type='text'>
Don't try to 2nd guess user
</content>
</entry>
<entry>
<title>Tweak concurrency limits</title>
<updated>2017-09-14T23:28:48Z</updated>
<author>
<name>Howard Chu</name>
<email>hyc@symas.com</email>
</author>
<published>2017-09-14T23:28:48Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=6d0ca7d11f18d1d842ec1ac639da4309ae41a83f'/>
<id>urn:sha1:6d0ca7d11f18d1d842ec1ac639da4309ae41a83f</id>
<content type='text'>
Create capacity for 2x max, but lie about it
</content>
</entry>
<entry>
<title>Use a threadpool</title>
<updated>2017-09-14T20:42:48Z</updated>
<author>
<name>Howard Chu</name>
<email>hyc@symas.com</email>
</author>
<published>2017-09-14T03:39:37Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=510d0d47537aea8eff2e9c855099c4d4839cef32'/>
<id>urn:sha1:510d0d47537aea8eff2e9c855099c4d4839cef32</id>
<content type='text'>
Instead of constantly creating and destroying threads
</content>
</entry>
</feed>
