{"id":2105,"url":"https://patchwork.libcamera.org/api/1.1/covers/2105/?format=json","web_url":"https://patchwork.libcamera.org/cover/2105/","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":"<20191006053226.8976-1-laurent.pinchart@ideasonboard.com>","date":"2019-10-06T05:32:17","name":"[libcamera-devel,0/9] Timer fixes and enhancements","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/1.1/people/2/?format=json","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"mbox":"https://patchwork.libcamera.org/cover/2105/mbox/","series":[{"id":522,"url":"https://patchwork.libcamera.org/api/1.1/series/522/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=522","date":"2019-10-06T05:32:17","name":"Timer fixes and enhancements","version":1,"mbox":"https://patchwork.libcamera.org/series/522/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/2105/comments/","headers":{"Return-Path":"<laurent.pinchart@ideasonboard.com>","Received":["from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id F174161565\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun,  6 Oct 2019 07:32:33 +0200 (CEST)","from pendragon.ideasonboard.com\n\t(modemcable151.96-160-184.mc.videotron.ca [184.160.96.151])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 1BA11DD\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun,  6 Oct 2019 07:32:32 +0200 (CEST)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1570339953;\n\tbh=rwCDICpTOmrL8NPcAInggkEjJy+bJDvLeyCH6NFbAZ8=;\n\th=From:To:Subject:Date:From;\n\tb=gVTB1Q7oGYBkZjmt4VRiBJQ44OwfNwv8NqlW1BMdX2xKeyseDWLpvs0i+mfrxvVMc\n\t/kTthZSgpaS9HYhX7IQo09htQXll342wlm1TQZSWbiWuxVqtlB0BNw9FnlVBVGS/k9\n\teOZ49E8gdUnBHNOHE2JJIQq4ZJC5xgkKOUq3bb/U=","From":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Sun,  6 Oct 2019 08:32:17 +0300","Message-Id":"<20191006053226.8976-1-laurent.pinchart@ideasonboard.com>","X-Mailer":"git-send-email 2.21.0","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH 0/9] Timer fixes and enhancements","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":"Sun, 06 Oct 2019 05:32:34 -0000"},"content":"Hello,\n\nThis series fixes several issues with the Timer class (in patches 2/9,\n5/9 and 6/9), and extends the class with support for absolute deadlines\n(patch 8/9) which should be useful for IPAs.\n\nPlease see individual patches for details.\n\nLaurent Pinchart (9):\n  libcamera: timer: Remove the interval() method\n  libcamera: timer: Don't reset deadline after time out\n  test: timer: Test that deadline() isn't reset upon time out\n  test: timer: Test that a timer can be restarted before it expires\n  libcamera: timer: Allow restarting a timer before expiration\n  libcamera: timer: Forbid starting or stopping timer from another\n    thread\n  test: timer-thread: Test starting a timer from another thread\n  libcamera: timer: Add start() method with absolute deadline\n  test: timer: Test start() with absolute deadline\n\n include/libcamera/timer.h        |  6 +--\n src/libcamera/timer.cpp          | 73 +++++++++++++++++++++++---------\n src/qcam/qt_event_dispatcher.cpp |  7 ++-\n test/timer-thread.cpp            | 58 +++++++++++++++++++------\n test/timer.cpp                   | 54 +++++++++++++++++++----\n 5 files changed, 153 insertions(+), 45 deletions(-)"}