<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nissy-core/src/utils/sleep.h, branch python-callback</title>
<subtitle>The "engine" of nissy, including the H48 optimal solver.</subtitle>
<id>https://git.tronto.net/nissy-core/atom?h=python-callback</id>
<link rel='self' href='https://git.tronto.net/nissy-core/atom?h=python-callback'/>
<link rel='alternate' type='text/html' href='https://git.tronto.net/nissy-core/'/>
<updated>2025-08-13T08:24:14Z</updated>
<entry>
<title>Correct OS detection for sleep function</title>
<updated>2025-08-13T08:24:14Z</updated>
<author>
<name>Sebastiano Tronto</name>
<email>sebastiano@tronto.net</email>
</author>
<published>2025-08-13T08:24:14Z</published>
<link rel='alternate' type='text/html' href='https://git.tronto.net/nissy-core/commit/?id=58deba64173679253e72495451853a668baf2452'/>
<id>urn:sha1:58deba64173679253e72495451853a668baf2452</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Do all loggin in main thread</title>
<updated>2025-05-23T14:54:59Z</updated>
<author>
<name>Sebastiano Tronto</name>
<email>sebastiano@tronto.net</email>
</author>
<published>2025-05-23T14:48:58Z</published>
<link rel='alternate' type='text/html' href='https://git.tronto.net/nissy-core/commit/?id=c6a77f30f64be73a5e55e06336975f2ecfbb2324'/>
<id>urn:sha1:c6a77f30f64be73a5e55e06336975f2ecfbb2324</id>
<content type='text'>
Before this committ, the solver (via the generic solution-appender
routines in src/solve/solutions.h) and the H48 data generator did some
logging in the worker threads, without using any locks. This was not nice,
but in practice it did not cause any problem, because the log messages
were rare.

However, this turned out to be a problem when building to WASM, because
web workers do not have access to the main JS memory, and therefore
they cannot call functions from the main JS. This includes not only the
callback functions for logging, but also those for polling the status
of the solver (run / pause / stop).

This commit fixes this at the cost or being somewhat inelegant: the
solutions are not logged as they are found, but only every 500ms.
</content>
</entry>
<entry>
<title>Added stop / pause / resume solve to API</title>
<updated>2025-04-29T08:08:04Z</updated>
<author>
<name>Sebastiano Tronto</name>
<email>sebastiano@tronto.net</email>
</author>
<published>2025-04-29T08:08:04Z</published>
<link rel='alternate' type='text/html' href='https://git.tronto.net/nissy-core/commit/?id=8d3fc9f5f9c0593fcae9c451efe6c89c64dcbe84'/>
<id>urn:sha1:8d3fc9f5f9c0593fcae9c451efe6c89c64dcbe84</id>
<content type='text'>
</content>
</entry>
</feed>
