viuavm-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Viuavm-commits] [SCM] Viua VM branch issue-6329ca01-implement-i-o-instr


From: git
Subject: [Viuavm-commits] [SCM] Viua VM branch issue-6329ca01-implement-i-o-instructions updated. v0.9.0-2532-g804d70b
Date: Sun, 1 Sep 2019 23:31:30 +0200 (CEST)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Viua VM".

The branch, issue-6329ca01-implement-i-o-instructions has been updated
       via  804d70bf7969a7ccbb848fe46141802f4d845bdd (commit)
       via  a060472a17984040a1df4356879484a02df14e0a (commit)
       via  44a4cf329be07610e5e4eb097365a9a8506a6f02 (commit)
      from  fe221bf4aadbae703588ae74d1723e1dba19936a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 804d70bf7969a7ccbb848fe46141802f4d845bdd
Author: Marek Marecki <address@hidden>
Date:   Sun Sep 1 23:30:21 2019 +0200

    std::posix::io::open/1 now returns IO_fd instead of a bare integer

commit a060472a17984040a1df4356879484a02df14e0a
Author: Marek Marecki <address@hidden>
Date:   Sun Sep 1 23:28:51 2019 +0200

    Fix: make IO_fd not copyable
    
    Which copy of IO_fd should own the underlying file descriptor? What to
    do about owning copy going out of scope before the non-owning copies?
    Just refuse to copy IO_fd values and be done with it.

commit 44a4cf329be07610e5e4eb097365a9a8506a6f02
Author: Marek Marecki <address@hidden>
Date:   Sun Sep 1 23:26:40 2019 +0200

    Fix an ancient bug
    
    Arguments passed to functions were always copied instead of being moved
    due to inverted condition the VM was using to determine when to move and
    when to copy.
    
    I am *astonished* that it took so long to detect. No less amazing is
    that the first non-copyable type (IO_fd) was introduced only recently,
    several years after the project started.

-----------------------------------------------------------------------

Summary of changes:
 src/kernel/registerset.cpp | 13 ++-----------
 src/stdlib/posix/io.cpp    |  3 ++-
 src/types/io.cpp           |  2 +-
 3 files changed, 5 insertions(+), 13 deletions(-)


hooks/post-receive
-- 
Viua VM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]