| 229 | } |
| 230 | |
| 231 | static bool bootstrap_fake_handoff(void *opaque, cbm_daemon_bootstrap_lock_t lock) { |
| 232 | bootstrap_fake_ops_t *fake = opaque; |
| 233 | if (lock != fake || atomic_load(&fake->lock_held) != 1) { |
| 234 | return false; |
| 235 | } |
| 236 | atomic_fetch_add(&fake->handoff_count, 1); |
| 237 | return true; |
| 238 | } |
| 239 | |
| 240 | static bool bootstrap_fake_spawn(void *opaque, const cbm_daemon_bootstrap_launch_spec_t *spec) { |
| 241 | bootstrap_fake_ops_t *fake = opaque; |
nothing calls this directly
no outgoing calls
no test coverage detected