THREAD_FLAGS_BREAKPOINTS_INSTALLED
atomic_or(&thread->flags, THREAD_FLAGS_BREAKPOINTS_INSTALLED);
if (!(thread->flags & THREAD_FLAGS_BREAKPOINTS_INSTALLED))
atomic_and(&thread->flags, ~THREAD_FLAGS_BREAKPOINTS_INSTALLED);