-
Notifications
You must be signed in to change notification settings - Fork 24
Init and Finalize
Travis Koehring edited this page Aug 12, 2021
·
5 revisions
The Yaksa library is thread safe. Thus, in a multi-threaded program threads can call Yaksa routines (e.g. yaksa_type_create_vector
or yaksa_ipack/iunpack
) concurrently. The only exceptions are yaksa_init
and yaksa_finalize
that have to be called only by one thread. This document describes these routines.
int yaksa_init(yaksa_info_t info)
- Parameters
- [in]
info
: Info hint to apply
- [in]
- Returned value
- On success,
YAKSA_SUCCESS
is returned. - On error, a non-zero error code is returned.
- On success,
int yaksa_finalize(void)
- Returned value
- On success,
YAKSA_SUCCESS
is returned. - On error, a non-zero error code is returned.
- On success,