GOnceStatus

The possible statuses of a one-time initialization function controlled by a #GOnce struct.

Values

ValueMeaning
Notcalled0

the function has not been called yet.

Progress1

the function call is currently in progress.

Ready2

the function has been called.