<commit_before>/**
 * RTC interface.
 *
 * @author <NAME>
 * @license MIT
 */
#include "time64.h"
interface RealTimeClock {

	/**
	 * Return the current time or (time_t)(-1) to indicate that the current time is not available.
	*/
	command time64_t time();

	/**
	 * Set RTC value.
	 */
	command error_t stime(time64_t t);

	/**
	 * Event signalled when RTC time is adjusted.
	 */
	event void changed(time64_t old, time64_t current);

}<commit_msg>Made the changed event async.<commit_after>/**
 * RTC interface.
 *
 * @author <NAME>
 * @license MIT
 */
#include "time64.h"
interface RealTimeClock {

	/**
	 * Return the current time or (time_t)(-1) to indicate that the current time is not available.
	*/
	command time64_t time();

	/**
	 * Set RTC value.
	 */
	command error_t stime(time64_t t);

	/**
	 * Event signalled when RTC time is adjusted.
	 * The event is async because it could be fired from within stime.
	 */
	async event void changed(time64_t old, time64_t current);

}
{'fraction_non_alphanumeric': 0.12296747967479675, 'fraction_numerical': 0.022357723577235773, 'mean_word_length': 3.264069264069264, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5969445', 'n_tokens_mistral': 352, 'n_tokens_neox': 316, 'n_words': 115}