autosync_cfg Struct Reference

Configuration of an autosync thread. More...

Collaboration diagram for autosync_cfg:

Collaboration graph
[legend]

Data Fields

struct jfsfs
 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.

Detailed Description

Configuration of an autosync thread.

Definition at line 18 of file autosync.c.


Field Documentation

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().

Max number of seconds between each jsync().

Definition at line 26 of file autosync.c.

Referenced by autosync_thread(), and jfs_autosync_start().

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().


The documentation for this struct was generated from the following file:

Generated on Sat Sep 12 13:33:34 2009 for libjio (internal) by  doxygen 1.5.8