~ubuntu-branches/ubuntu/utopic/mir/utopic-proposed

« back to all changes in this revision

Viewing changes to include/test/mir_test/auto_unblock_thread.h

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release, Andreas Pokorny, Ubuntu daily release
  • Date: 2014-09-18 14:54:51 UTC
  • mfrom: (1.1.76)
  • Revision ID: package-import@ubuntu.com-20140918145451-uutan13eec4l629e
Tags: 0.7.3+14.10.20140918.1-0ubuntu1
[ Andreas Pokorny ]
* New upstream release 0.7.3 (https://launchpad.net/mir/+milestone/0.7.3)
  - Bug fixes
    . Fix constructor syntax errors (LP: #1369389)
    . server: Workaround for unresponsive clients causing the server to hang 
      (LP: #1350207)
    . Relax strict dependencies of graphics drivers on an exact version
      of the libmirplatform2 package. It's blocking CI. (LP: #1370866)
    . Update cmake scripts to current version of gcovr.

[ Ubuntu daily release ]
* New rebuild forced

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
    explicit AutoUnblockThread(std::function<void(void)> const& unblock,
42
42
        Callable&& f,
43
43
        Args&&... args)
44
 
        : unblock{unblock}, thread{f, args...}
 
44
        : unblock{unblock}, thread(f, args...)
45
45
    {}
46
46
 
47
47
    ~AutoUnblockThread()
75
75
    template<typename Callable, typename... Args>
76
76
    explicit AutoJoinThread(Callable&& f,
77
77
        Args&&... args)
78
 
        : AutoUnblockThread{[]{}, f, args...}
 
78
        : AutoUnblockThread([]{}, f, args...)
79
79
    {}
80
80
};
81
81