<feed xmlns='http://www.w3.org/2005/Atom'>
<title>hakurei/internal/fmsg/fmsg.go, branch master</title>
<subtitle>low-level userspace tooling for Rosa OS</subtitle>
<id>http://src.rosa.moe/hakurei/atom/internal/fmsg/fmsg.go?h=master</id>
<link rel='self' href='http://src.rosa.moe/hakurei/atom/internal/fmsg/fmsg.go?h=master'/>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/'/>
<updated>2025-06-24T19:57:41Z</updated>
<entry>
<title>treewide: rename to hakurei</title>
<updated>2025-06-24T19:57:41Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2025-06-24T18:59:52Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=87e008d56de974947ebb99c2cc40b25d3c2cf43e'/>
<id>urn:sha1:87e008d56de974947ebb99c2cc40b25d3c2cf43e</id>
<content type='text'>
Fortify makes little sense for a container tool.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>fmsg: implement suspend in writer</title>
<updated>2025-02-16T09:51:53Z</updated>
<author>
<name>Ophestra</name>
<email>cat@gensokyo.uk</email>
</author>
<published>2025-02-16T08:26:09Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=e599b5583dd821ed26bdfc01f7f67d4a317b9843'/>
<id>urn:sha1:e599b5583dd821ed26bdfc01f7f67d4a317b9843</id>
<content type='text'>
This removes the requirement to call fmsg.Exit on every exit path, and enables direct use of the "log" package. However, fmsg.BeforeExit is still encouraged when possible to catch exit on suspended output.

Signed-off-by: Ophestra &lt;cat@gensokyo.uk&gt;
</content>
</entry>
<entry>
<title>fmsg: drop messages when msgbuf is full during withhold</title>
<updated>2024-11-04T03:56:19Z</updated>
<author>
<name>Ophestra Umiker</name>
<email>cat@ophivana.moe</email>
</author>
<published>2024-11-04T03:56:19Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=d7df24c9992bd29da1d775c45cb73eb7892e5f78'/>
<id>urn:sha1:d7df24c9992bd29da1d775c45cb73eb7892e5f78</id>
<content type='text'>
Logging functions are not expected to block. This change fixes multiple hangs where more than 64 messages are produced during withhold.

Signed-off-by: Ophestra Umiker &lt;cat@ophivana.moe&gt;
</content>
</entry>
<entry>
<title>fmsg: support temporarily withholding output</title>
<updated>2024-10-26T14:09:32Z</updated>
<author>
<name>Ophestra Umiker</name>
<email>cat@ophivana.moe</email>
</author>
<published>2024-10-26T14:09:32Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=ae1a102882103221ef842176dfd8cb1090d5f591'/>
<id>urn:sha1:ae1a102882103221ef842176dfd8cb1090d5f591</id>
<content type='text'>
Trying to print to a shared stdout is a terrible idea. This change makes it possible to withhold output for the lifetime of the sandbox.

Signed-off-by: Ophestra Umiker &lt;cat@ophivana.moe&gt;
</content>
</entry>
<entry>
<title>fmsg: produce all output through fmsg</title>
<updated>2024-10-21T11:47:02Z</updated>
<author>
<name>Ophestra Umiker</name>
<email>cat@ophivana.moe</email>
</author>
<published>2024-10-21T11:47:02Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=42e0b168e3d75389dfb968aebf9f5629d64782f9'/>
<id>urn:sha1:42e0b168e3d75389dfb968aebf9f5629d64782f9</id>
<content type='text'>
The behaviour of print functions from package fmt is not thread safe. Functions provided by fmsg wrap around Logger methods. This makes prefix much cleaner and makes it easy to deal with future changes to logging.

Signed-off-by: Ophestra Umiker &lt;cat@ophivana.moe&gt;
</content>
</entry>
<entry>
<title>fmsg/errors: isolate app/error into a separate package</title>
<updated>2024-10-15T16:29:44Z</updated>
<author>
<name>Ophestra Umiker</name>
<email>cat@ophivana.moe</email>
</author>
<published>2024-10-15T16:29:44Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=0fd63e85e730d44abd488c892be377b332f5458e'/>
<id>urn:sha1:0fd63e85e730d44abd488c892be377b332f5458e</id>
<content type='text'>
These functions are not in any way specific to the app package.

Signed-off-by: Ophestra Umiker &lt;cat@ophivana.moe&gt;
</content>
</entry>
</feed>
