Implement printf, dprintf, string.format

This commit is contained in:
2026-02-17 19:57:58 -05:00
parent a987754b38
commit ff81d79b4a
7 changed files with 363 additions and 121 deletions

View File

@@ -1135,7 +1135,7 @@ void World::clear_lthread_state() {
lthread_place_id_ = 0;
lthread_thread_id_ = 0;
lthread_use_ppool_ = false;
lthread_prints_.str();
lthread_prints_.str("");
lthread_prints_.clear();
}
@@ -1162,7 +1162,7 @@ void World::open_lthread_state(int64_t actor, int64_t place, int64_t thread, boo
lthread_place_id_ = place;
lthread_thread_id_ = thread;
lthread_use_ppool_ = ppool;
lthread_prints_.str();
lthread_prints_.str("");
lthread_prints_.clear();
}