| 691 | } platform_path_thread_result_t; |
| 692 | |
| 693 | static void *platform_capture_path_buffers(void *opaque) { |
| 694 | platform_path_thread_result_t *result = opaque; |
| 695 | result->home = cbm_get_home_dir(); |
| 696 | result->cache = cbm_resolve_cache_dir(); |
| 697 | atomic_fetch_add_explicit(result->ready, 1, memory_order_release); |
| 698 | while (atomic_load_explicit(result->release, memory_order_acquire) == 0) { |
| 699 | cbm_usleep(1000); |
| 700 | } |
| 701 | return NULL; |
| 702 | } |
| 703 | |
| 704 | /* The daemon dispatches different sessions concurrently. Path helpers may |
| 705 | * retain their historical return-pointer API, but each live thread needs |
nothing calls this directly
no test coverage detected