Project

General

Profile

Bug #4526 ยป 0001-IO-syswrite-releases-GVL.patch

[PATCH] IO#syswrite releases GVL - normalperson (Eric Wong), 03/26/2011 02:20 AM

View differences:

io.c
rb_io_check_closed(fptr);
}
n = write(fptr->fd, RSTRING_PTR(str), RSTRING_LEN(str));
n = rb_write_internal(fptr->fd, RSTRING_PTR(str), RSTRING_LEN(str));
if (n == -1) rb_sys_fail_path(fptr->pathv);
    (1-1/1)