<feed xmlns='http://www.w3.org/2005/Atom'>
<title>monzero-core.git/src/common/threadpool.h, branch v0.17.1.0</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.17.1.0</id>
<link rel='self' href='https://code.monzero.org/monzero-core.git/atom?h=v0.17.1.0'/>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/'/>
<updated>2020-09-01T14:33:33Z</updated>
<entry>
<title>threadpool: guard against exceptions in jobs, and armour plating</title>
<updated>2020-09-01T14:33:33Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2020-08-12T22:13:29Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=6a37da837e1c936200f8d71a142973cc60b17b32'/>
<id>urn:sha1:6a37da837e1c936200f8d71a142973cc60b17b32</id>
<content type='text'>
Those would, if uncaught, exit run and leave the waiter to wait
indefinitely for the number of active jobs to reach 0
</content>
</entry>
<entry>
<title>Update copyright year to 2020</title>
<updated>2020-05-07T02:36:54Z</updated>
<author>
<name>SomaticFanatic</name>
<email>afdlkajdlfkj@aldkfjf.com</email>
</author>
<published>2020-05-07T02:36:54Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=5ef0607da6042df51a57703bd223c5c8024741f6'/>
<id>urn:sha1:5ef0607da6042df51a57703bd223c5c8024741f6</id>
<content type='text'>
Update copyright year to 2020
</content>
</entry>
<entry>
<title>core_tests: reset thread pool between tests</title>
<updated>2019-11-10T12:58:49Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2019-11-10T12:58:19Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=27522aaa124a4a84091c3afaa85898dea2251c10'/>
<id>urn:sha1:27522aaa124a4a84091c3afaa85898dea2251c10</id>
<content type='text'>
Avoids a DB error (leading to an assert) where a thread uses
a read txn previously created with an environment that was
since closed and reopened. While this usually works since
BlockchainLMDB renews txns if it detects the environment has
changed, this will not work if objects end up being allocated
at the same address as the previous instance, leading to stale
data usage.

Thanks hyc for the LMDB debugging.
</content>
</entry>
<entry>
<title>Update 2019 copyright</title>
<updated>2019-03-05T21:05:34Z</updated>
<author>
<name>binaryFate</name>
<email>binaryfate@users.noreply.github.com</email>
</author>
<published>2019-03-05T21:05:34Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=1f2930ce0bec07e28958c059444151ad4968e1e6'/>
<id>urn:sha1:1f2930ce0bec07e28958c059444151ad4968e1e6</id>
<content type='text'>
</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>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>
</feed>
