Subversion Repositories HelenOS

Rev

Rev 2682 | Rev 2684 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2682 Rev 2683
Line 145... Line 145...
145
/**
145
/**
146
 * Instances of this type represent an open file. If the file is opened by more
146
 * Instances of this type represent an open file. If the file is opened by more
147
 * than one task, there will be a separate structure allocated for each task.
147
 * than one task, there will be a separate structure allocated for each task.
148
 */
148
 */
149
typedef struct {
149
typedef struct {
-
 
150
    /** Serializes access to this open file. */
-
 
151
    futex_t lock;
-
 
152
 
150
    vfs_node_t *node;
153
    vfs_node_t *node;
151
   
154
   
152
    /** Number of file handles referencing this file. */
155
    /** Number of file handles referencing this file. */
153
    unsigned refcnt;
156
    unsigned refcnt;
154
 
157