bt_ctf_clock_value_create(): freeze clock class
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 26 Jul 2017 19:58:37 +0000 (15:58 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 11 Aug 2017 22:54:15 +0000 (18:54 -0400)
commit0b4b8df9519c173bdea3262dba1a21a77e7a15c3
tree412c07d2442635b7a14b20689bd1eb8ae8cdfa5c
parent8cc092c9277ed3efaf0523e5c7585cec6c332353
bt_ctf_clock_value_create(): freeze clock class

This is how other classes in the library work: when you instantiate a
class as a value (here a clock class as a clock value), the class is
frozen.

This patch does not seem to break the tests or change anything to the
CLI and plugins, which means all clock classes are already configured
before clock values are created out of them.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
lib/ctf-ir/clock-class.c
This page took 0.023766 seconds and 4 git commands to generate.