Implement printf, dprintf, string.format
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user