<feed xmlns='http://www.w3.org/2005/Atom'>
<title>monzero-core.git/contrib/epee/include/syncobj.h, branch v0.17.3.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.3.0</id>
<link rel='self' href='https://code.monzero.org/monzero-core.git/atom?h=v0.17.3.0'/>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/'/>
<updated>2020-04-15T17:22:46Z</updated>
<entry>
<title>Allow wallet2.h to run in WebAssembly</title>
<updated>2020-04-15T17:22:46Z</updated>
<author>
<name>woodser</name>
<email>woodser@protonmail.com</email>
</author>
<published>2020-04-15T17:22:46Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=87d75584e8df95ff53a354438760088e061a6de5'/>
<id>urn:sha1:87d75584e8df95ff53a354438760088e061a6de5</id>
<content type='text'>
- Add abstract_http_client.h which http_client.h extends.
- Replace simple_http_client with abstract_http_client in wallet2,
message_store, message_transporter, and node_rpc_proxy.
- Import and export wallet data in wallet2.
- Use #if defined __EMSCRIPTEN__ directives to skip incompatible code.</content>
</entry>
<entry>
<title>syncobj.h no longer defines shared_guard, so remove those define's</title>
<updated>2019-08-23T06:42:36Z</updated>
<author>
<name>Tom Smeding</name>
<email>tom.smeding@gmail.com</email>
</author>
<published>2019-08-23T06:42:11Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=a84aa04d5755261a5a74006f7ad359c262e972f8'/>
<id>urn:sha1:a84aa04d5755261a5a74006f7ad359c262e972f8</id>
<content type='text'>
The removed preprocessor macro's refer to types that are not defined in
the file anymore; the only other place where shared_guard is defined is
in winobj.h, which also defines the same macro's. Therefore, this change
is safe.

(Side note is that these macro's weren't used at all anyway, but that is
orthogonal to the issue.)
</content>
</entry>
<entry>
<title>Remove unused code under WINDWOS_PLATFORM guard</title>
<updated>2019-08-15T12:57:27Z</updated>
<author>
<name>Tom Smeding</name>
<email>tom.smeding@gmail.com</email>
</author>
<published>2019-08-15T12:57:27Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=bdcdb0e81326e9871d0913309033336f8096d8d8'/>
<id>urn:sha1:bdcdb0e81326e9871d0913309033336f8096d8d8</id>
<content type='text'>
This code has been present, unchanged, ever since the original move to
github in 2014 with commit 296ae46ed.
</content>
</entry>
<entry>
<title>epee: Drop deprecated Boost.Thread header</title>
<updated>2018-04-19T09:15:09Z</updated>
<author>
<name>Jan Beich</name>
<email>jbeich@FreeBSD.org</email>
</author>
<published>2018-04-19T06:55:05Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=53a1962da18f952f6eb4683a846e52fe122520e2'/>
<id>urn:sha1:53a1962da18f952f6eb4683a846e52fe122520e2</id>
<content type='text'>
In file included from src/cryptonote_basic/hardfork.cpp:33:
In file included from src/blockchain_db/blockchain_db.h:42:
In file included from src/cryptonote_basic/hardfork.h:31:
contrib/epee/include/syncobj.h:37:10: fatal error: 'boost/thread/v2/thread.hpp' file not found
#include &lt;boost/thread/v2/thread.hpp&gt;
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/rpc/daemon_handler.cpp:29:
In file included from src/rpc/daemon_handler.h:36:
In file included from src/p2p/net_node.h:41:
In file included from contrib/epee/include/net/levin_server_cp2.h:32:
In file included from contrib/epee/include/net/abstract_tcp_server2.h:324:
contrib/epee/include/net/abstract_tcp_server2.inl:44:10: fatal error: 'boost/thread/v2/thread.hpp' file not found
#include &lt;boost/thread/v2/thread.hpp&gt; // TODO
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

contrib/epee/include/math_helper.h: In member function 'bool epee::math_helper::average&lt;val, default_base&gt;::set_base()':
contrib/epee/include/syncobj.h:227:56: error: 'sleep_for' is not a member of 'boost::this_thread'
 #define  CRITICAL_REGION_LOCAL(x) {boost::this_thread::sleep_for(boost::chrono::milliseconds(epee::debug::g_test_dbg_lock_sleep()));}   epee::critical_region_t&lt;decltype(x)&gt;   critical_region_var(x)
                                                        ^
contrib/epee/include/syncobj.h:227:56: note: in definition of macro 'CRITICAL_REGION_LOCAL'
 #define  CRITICAL_REGION_LOCAL(x) {boost::this_thread::sleep_for(boost::chrono::milliseconds(epee::debug::g_test_dbg_lock_sleep()));}   epee::critical_region_t&lt;decltype(x)&gt;   critical_region_var(x)
                                                        ^~~~~~~~~
contrib/epee/include/syncobj.h:227:56: note: suggested alternative: 'sleep'
 #define  CRITICAL_REGION_LOCAL(x) {boost::this_thread::sleep_for(boost::chrono::milliseconds(epee::debug::g_test_dbg_lock_sleep()));}   epee::critical_region_t&lt;decltype(x)&gt;   critical_region_var(x)
                                                        ^
contrib/epee/include/syncobj.h:227:56: note: in definition of macro 'CRITICAL_REGION_LOCAL'
 #define  CRITICAL_REGION_LOCAL(x) {boost::this_thread::sleep_for(boost::chrono::milliseconds(epee::debug::g_test_dbg_lock_sleep()));}   epee::critical_region_t&lt;decltype(x)&gt;   critical_region_var(x)
                                                        ^~~~~~~~~
</content>
</entry>
<entry>
<title>Use boost::thread instead of std::thread</title>
<updated>2016-03-11T15:09:50Z</updated>
<author>
<name>Howard Chu</name>
<email>hyc@symas.com</email>
</author>
<published>2016-03-11T12:25:28Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=b937a2c915861900d047d4d4a24af31c454e3540'/>
<id>urn:sha1:b937a2c915861900d047d4d4a24af31c454e3540</id>
<content type='text'>
and all other associated IPC
</content>
</entry>
<entry>
<title>move g_test_dbg_lock_sleep from a global to a function level static</title>
<updated>2016-02-22T19:34:09Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2016-02-22T19:34:09Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=5e3557d2c30f9f1a206d93441897793a993f3618'/>
<id>urn:sha1:5e3557d2c30f9f1a206d93441897793a993f3618</id>
<content type='text'>
This avoids the need to define that variable in every program
which uses epee.
</content>
</entry>
<entry>
<title>std::condvar is broken on Win32 with gcc/g++ 4.8 too</title>
<updated>2016-02-18T21:31:21Z</updated>
<author>
<name>Howard Chu</name>
<email>hyc@symas.com</email>
</author>
<published>2016-01-26T22:09:08Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=014f8868f215175fc8db41f79d57588db9ea1d4d'/>
<id>urn:sha1:014f8868f215175fc8db41f79d57588db9ea1d4d</id>
<content type='text'>
Use boost...
</content>
</entry>
<entry>
<title>2014 network limit 1.2 +utils +toc -doc -drmonero</title>
<updated>2015-02-20T21:28:03Z</updated>
<author>
<name>rfree2monero</name>
<email>rfreemonero@op.pl</email>
</author>
<published>2015-02-20T21:28:03Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=ae2a50659f7dc74a5446a0dc3a5f8f78563b9e1f'/>
<id>urn:sha1:ae2a50659f7dc74a5446a0dc3a5f8f78563b9e1f</id>
<content type='text'>
new update of the pr with network limits

more debug options:
discarding downloaded blocks all or after given height.
trying to trigger the locking errors.

debug levels polished/tuned to sane values.
debug/logging improved.

warning: this pr should be correct code, but it could make
an existing (in master version) locking error appear more often.

it's a race on the list (map) of peers, e.g. between closing/deleting
them versus working on them in net-limit sleep in sending chunk.

the bug is not in this code/this pr, but in the master version.

the locking problem of master will be fixed in other pr.

problem is ub, and in practice is seems to usually cause program abort
(tested on debian stable with updated gcc). see --help for option
to add sleep to trigger the error faster.
</content>
</entry>
<entry>
<title>move modified epee code to new classes, revert license</title>
<updated>2014-07-25T16:29:08Z</updated>
<author>
<name>fluffypony</name>
<email>ric@spagni.net</email>
</author>
<published>2014-07-25T16:29:08Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=32f9d2b78316efe114193d720b1aa8a8c3d04b2e'/>
<id>urn:sha1:32f9d2b78316efe114193d720b1aa8a8c3d04b2e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>License updated to BSD 3-clause</title>
<updated>2014-07-23T13:03:52Z</updated>
<author>
<name>fluffypony</name>
<email>ric@spagni.net</email>
</author>
<published>2014-07-23T13:03:52Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=6fc995fe5d5a9f5e74ed520b695d67159aa08b33'/>
<id>urn:sha1:6fc995fe5d5a9f5e74ed520b695d67159aa08b33</id>
<content type='text'>
</content>
</entry>
</feed>
