mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-09-18 09:50:07 +08:00
Use thread-local storage to cache run-time options
This commit is contained in:
@@ -24,8 +24,8 @@
|
||||
|
||||
#define DEBUG 1
|
||||
|
||||
static unsigned long opts;
|
||||
static int optset;
|
||||
static __thread unsigned long opts;
|
||||
static __thread int optset;
|
||||
|
||||
static void load_options(void);
|
||||
|
||||
|
Reference in New Issue
Block a user