On 06/06/16 13:52, Iván Matellanes wrote:
DEFINE_THISCALL_WRAPPER(ostream_flush, 4) ostream* __thiscall ostream_flush(ostream *this) {
- FIXME("(%p) stub\n", this);
- ios *base = ostream_get_ios(this);
- TRACE("(%p)\n", this);
- if (call_streambuf_sync(base->sb) == EOF)
ios_clear(base, base->state | IOSTATE_failbit);
This function should be thread-safe. Please use ios_lockbuf and ios_unlockbuf.
Thanks, Piotr