{"id":2424,"url":"https://patchwork.libcamera.org/api/1.1/covers/2424/?format=json","web_url":"https://patchwork.libcamera.org/cover/2424/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20191216121029.1048242-1-niklas.soderlund@ragnatech.se>","date":"2019-12-16T12:10:26","name":"[libcamera-devel,0/3] libcamera: Add FileDescriptor to help pass numerical fds around","submitter":{"id":5,"url":"https://patchwork.libcamera.org/api/1.1/people/5/?format=json","name":"Niklas Söderlund","email":"niklas.soderlund@ragnatech.se"},"mbox":"https://patchwork.libcamera.org/cover/2424/mbox/","series":[{"id":588,"url":"https://patchwork.libcamera.org/api/1.1/series/588/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=588","date":"2019-12-16T12:10:26","name":"libcamera: Add FileDescriptor to help pass numerical fds around","version":1,"mbox":"https://patchwork.libcamera.org/series/588/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/2424/comments/","headers":{"Return-Path":"<niklas.soderlund@ragnatech.se>","Received":["from bin-mail-out-05.binero.net (bin-mail-out-05.binero.net\n\t[195.74.38.228])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 23B3B601E4\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 16 Dec 2019 13:10:51 +0100 (CET)","from bismarck.berto.se (p54ac5865.dip0.t-ipconnect.de\n\t[84.172.88.101]) by bin-vsp-out-02.atm.binero.net (Halon) with ESMTPA\n\tid 0f189190-1ffd-11ea-8e92-005056917f90;\n\tMon, 16 Dec 2019 13:10:44 +0100 (CET)"],"X-Halon-ID":"0f189190-1ffd-11ea-8e92-005056917f90","Authorized-sender":"niklas@soderlund.pp.se","From":"=?utf-8?q?Niklas_S=C3=B6derlund?= <niklas.soderlund@ragnatech.se>","To":"libcamera-devel@lists.libcamera.org","Date":"Mon, 16 Dec 2019 13:10:26 +0100","Message-Id":"<20191216121029.1048242-1-niklas.soderlund@ragnatech.se>","X-Mailer":"git-send-email 2.24.0","MIME-Version":"1.0","Content-Type":"text/plain; charset=UTF-8","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH 0/3] libcamera: Add FileDescriptor to help\n\tpass numerical fds around","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","X-List-Received-Date":"Mon, 16 Dec 2019 12:10:51 -0000"},"content":"Hi,\n\nThis was in part previously part of the rather large buffer rework \nseries but is now broken out to a separate series. All review comments \nfrom the buffer v1 series have been addressed and a new test have been \nadded on top.\n\nI hope to merge this as soon as it's ready as I really like to cut down \non the size of the buffer series. If you think this should not be merged \nuntil buffers are ready please let me know.\n\nNiklas Söderlund (3):\n  libcamera: utils: Add exchange()\n  libcamera: Add FileDescriptor to help pass numerical fds around\n  test: file_descriptor: Add test\n\n include/libcamera/file_descriptor.h |  33 ++++++\n include/libcamera/meson.build       |   1 +\n src/libcamera/file_descriptor.cpp   | 158 ++++++++++++++++++++++++++++\n src/libcamera/include/utils.h       |   9 ++\n src/libcamera/meson.build           |   1 +\n src/libcamera/utils.cpp             |   7 ++\n test/file_descriptor.cpp            | 152 ++++++++++++++++++++++++++\n test/meson.build                    |   1 +\n 8 files changed, 362 insertions(+)\n create mode 100644 include/libcamera/file_descriptor.h\n create mode 100644 src/libcamera/file_descriptor.cpp\n create mode 100644 test/file_descriptor.cpp"}