[#81492] [Ruby trunk Feature#13618] [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid — normalperson@...

Issue #13618 has been reported by normalperson (Eric Wong).

12 messages 2017/06/01

[ruby-core:81846] Re: [Ruby trunk Feature#13696] Add exchange and noreplace options to File.rename

From: Eric Wong <normalperson@...>
Date: 2017-06-30 08:19:32 UTC
List: ruby-core #81846
nobu@ruby-lang.org wrote:
> Is "atomically" important?
> If no, it'd be possible to implement without kernel support.

Yes, atomicity is an important distinction.

We should not try to implement this non-atomically without kernel
support; it will quietly break code which expects the atomicity.

I am recalling similar problems around posix_fallocate in glibc:
https://sourceware.org/bugzilla/show_bug.cgi?id=15661

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next