| 260 | } |
| 261 | |
| 262 | static cbm_daemon_bootstrap_ops_t bootstrap_fake_callbacks(bootstrap_fake_ops_t *fake) { |
| 263 | cbm_daemon_bootstrap_ops_t ops = { |
| 264 | .context = fake, |
| 265 | .cohort_acquire = bootstrap_fake_cohort_acquire, |
| 266 | .cohort_release = bootstrap_fake_cohort_release, |
| 267 | .probe = bootstrap_fake_probe, |
| 268 | .startup_lock_try_acquire = bootstrap_fake_lock, |
| 269 | .startup_lock_prepare_handoff = bootstrap_fake_handoff, |
| 270 | .startup_lock_release = bootstrap_fake_unlock, |
| 271 | .spawn_daemon = bootstrap_fake_spawn, |
| 272 | .visible_diagnostic = bootstrap_fake_diagnostic, |
| 273 | }; |
| 274 | return ops; |
| 275 | } |
| 276 | |
| 277 | static void *bootstrap_thread_execute(void *opaque) { |
| 278 | bootstrap_thread_call_t *call = opaque; |
no outgoing calls
no test coverage detected