class Writer

Defined at line 245 of file ../../src/sys/bin/psutils/threads.cc

Writer that writes to stdout at a throttled rate.

Public Methods

void ~Writer ()

Defined at line 249 of file ../../src/sys/bin/psutils/threads.cc

FILE * fp ()

After fp is done being used, |Signal| should be called to notify worker thread of new work.

Defined at line 258 of file ../../src/sys/bin/psutils/threads.cc

void Writer (const Writer & )

Defined at line 263 of file ../../src/sys/bin/psutils/threads.cc

Writer & operator= (const Writer & )

Defined at line 264 of file ../../src/sys/bin/psutils/threads.cc

void Writer (Writer && )

Defined at line 265 of file ../../src/sys/bin/psutils/threads.cc

Writer && operator= (Writer & )

Defined at line 266 of file ../../src/sys/bin/psutils/threads.cc

zx::result<std::unique_ptr<Writer>> Create ()

Defined at line 292 of file ../../src/sys/bin/psutils/threads.cc

void Signal ()

Signal thread that there is new data to write.

Defined at line 394 of file ../../src/sys/bin/psutils/threads.cc

void Join ()

Joins thread.

Defined at line 388 of file ../../src/sys/bin/psutils/threads.cc