-
Notifications
You must be signed in to change notification settings - Fork 24
Init and Finalize
Giuseppe Congiu edited this page Apr 8, 2020
·
5 revisions
The Yaksa library is thread safe. Thus, in a multi-threaded program, threads can call Yaksa routines (e.g. yaksa_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(void)
- 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,