zephyr/tests/kernel/common
Johan Hedberg e405fc41f2 atomic: Add atomic_set_bit_to() API
Several places in the code have constructions like this:

	if (bool_variable) {
		atomic_set_bit(flags, FLAG);
	} else {
		atomic_clear_bit(flags, FLAG);
	}

To reduce the amount of code for such situations, introduce a new
atomic_set_bit_to() helper which lets you condense the above five
lines to a single one:

	atomic_set_bit_to(flags, FLAG, bool_variable);

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2019-01-25 17:35:44 -05:00
..
src atomic: Add atomic_set_bit_to() API 2019-01-25 17:35:44 -05:00
CMakeLists.txt cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
multilib.txt tests: move multilib test to common/ 2018-02-18 09:16:40 -05:00
prj.conf drivers/timer: Add a standard workaround for known qemu issues 2018-11-13 17:10:07 -05:00
testcase.yaml sanitycheck: add min_flash option for 32K devices 2018-04-21 06:57:38 -07:00