ec_double_list_init
Last updated March 2020
Name
ec_double_list_init — Initialize a new list
Synopsis
#include "misc/ec_double_list.h"
| int **ec_double_list_init** (
| list, | |
| | ts)
; | |
Description
Initialize a new double linked list.
- list
-
The list to be initialized.
- ts
-
If non-zero, enables the internal mutex lock.
On success, this function returns 0
; on failure -1
is returned.
It is legal to call this function in any thread.
See Also
Was this page helpful?