Thread-safety issues
- flc_attach() is not thread-safe --
should be called in main thread before starting any subthreads - Concurrent access to an FLC_HANDLE is not thread-safe --
acquire separate handle for each thread - Concurrent access to data blocks is safe if each thread
accesses it through a different handle
- flc_open() is thread-safe