Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Instead of using thread 0 buffer, each thread uses its own sb buffer. Thus, it can avoid overflowing thread 0 buffer.