MCPcopy Create free account
hub / github.com/corosync/corosync / sam_data_store

Function sam_data_store

lib/sam.c:586–599  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

584}
585
586cs_error_t sam_data_store (
587 const void *data,
588 size_t size)
589{
590 cs_error_t ret;
591
592 pthread_mutex_lock (&sam_internal_data.lock);
593
594 ret = sam_data_store_nolock (data, size);
595
596 pthread_mutex_unlock (&sam_internal_data.lock);
597
598 return (ret);
599}
600
601cs_error_t sam_start (void)
602{

Callers 3

test_data_store_restoreFunction · 0.85
test_hc_cbFunction · 0.85
test_warn_signal_handlerFunction · 0.85

Calls 1

sam_data_store_nolockFunction · 0.85

Tested by 3

test_data_store_restoreFunction · 0.68
test_hc_cbFunction · 0.68
test_warn_signal_handlerFunction · 0.68