/* Get the current Thread Flags of current running thread.  */
uint32_t osThreadFlagsGet(void)
/* Get the current Thread Flags of current running thread.  */
uint32_t osThreadFlagsGet(void)
{
	struct cv2_thread *tid;
	if (k_is_in_isr()) {
		return 0;
	}
	tid = (struct cv2_thread *)osThreadGetId();
	if (tid == NULL) {
		return 0;
	} else {
		return tid->signal_results;
	}
}