Data Fields | |
struct jfs * | fs |
File structure to jsync(). | |
pthread_t | tid |
Thread id. | |
time_t | max_sec |
Max number of seconds between each jsync(). | |
size_t | max_bytes |
Max number of bytes written between each jsync(). | |
sig_atomic_t | must_die |
When the thread must die, we set this to 1. | |
pthread_cond_t | cond |
Condition variable to wake up the thread. | |
pthread_mutex_t | mutex |
Mutex to use for the condition variable. |
Definition at line 18 of file autosync.c.
struct jfs* autosync_cfg::fs [read] |
File structure to jsync().
Definition at line 20 of file autosync.c.
Referenced by autosync_thread(), and jfs_autosync_start().
pthread_t autosync_cfg::tid |
Thread id.
Definition at line 23 of file autosync.c.
Referenced by jfs_autosync_start(), and jfs_autosync_stop().
time_t autosync_cfg::max_sec |
Max number of seconds between each jsync().
Definition at line 26 of file autosync.c.
Referenced by autosync_thread(), and jfs_autosync_start().
size_t autosync_cfg::max_bytes |
Max number of bytes written between each jsync().
Definition at line 29 of file autosync.c.
Referenced by autosync_check(), autosync_thread(), and jfs_autosync_start().
sig_atomic_t autosync_cfg::must_die |
When the thread must die, we set this to 1.
Definition at line 32 of file autosync.c.
Referenced by autosync_thread(), jfs_autosync_start(), and jfs_autosync_stop().
pthread_cond_t autosync_cfg::cond |
Condition variable to wake up the thread.
Definition at line 35 of file autosync.c.
Referenced by autosync_check(), autosync_thread(), jfs_autosync_start(), and jfs_autosync_stop().
pthread_mutex_t autosync_cfg::mutex |
Mutex to use for the condition variable.
Definition at line 38 of file autosync.c.
Referenced by autosync_thread(), jfs_autosync_start(), and jfs_autosync_stop().