Closed xflouris closed 8 years ago
It is okay to have pll_errno as global variable and thread-safe.
pll_errno
Declaring it as
__thread int pll_errno;
instead of
int pll_errno;
creates thread-local storage.
I'll be fixing this one and pll_errmsg when merging dev<->master.
pll_errmsg
Both pll_errno and pll_errmsg are now thread-safe variables. Code is now C99 specific.
It is okay to have
pll_errno
as global variable and thread-safe.Declaring it as
__thread int pll_errno;
instead of
int pll_errno;
creates thread-local storage.
I'll be fixing this one and
pll_errmsg
when merging dev<->master.