Functions | |
| gpr_atoms_t | gpr_atoms_create (const gpr_atoms_config_t *config) |
| Create an atoms configuration handle from descriptor. Returns NULL on failure (check gpr_last_error()). | |
| void | gpr_atoms_destroy (gpr_atoms_t atoms) |
| Destroy atoms configuration. Destroying NULL or a live handle clears gpr_last_status() and gpr_last_error(), while preserving a pending GPR_ERR_ORACLE during cleanup. A second call reports GPR_ERR_INVALID_ARG through gpr_last_status() and does not free the handle again. | |
| int | gpr_atoms_n_moving (gpr_atoms_t atoms) |
| Number of moving (non-frozen) atoms. | |
| int | gpr_atoms_n_pairtypes (gpr_atoms_t atoms) |
| Number of pair types. | |
| gpr_atoms_t gpr_atoms_create | ( | const gpr_atoms_config_t * | config | ) |
Create an atoms configuration handle from descriptor. Returns NULL on failure (check gpr_last_error()).
| void gpr_atoms_destroy | ( | gpr_atoms_t | atoms | ) |
Destroy atoms configuration. Destroying NULL or a live handle clears gpr_last_status() and gpr_last_error(), while preserving a pending GPR_ERR_ORACLE during cleanup. A second call reports GPR_ERR_INVALID_ARG through gpr_last_status() and does not free the handle again.
| int gpr_atoms_n_moving | ( | gpr_atoms_t | atoms | ) |
Number of moving (non-frozen) atoms.
| int gpr_atoms_n_pairtypes | ( | gpr_atoms_t | atoms | ) |
Number of pair types.