Subversion Repositories HelenOS

Rev

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

Rev 2597 Rev 2679
Line 38... Line 38...
38
#include <atomic.h>
38
#include <atomic.h>
39
#include <futex.h>
39
#include <futex.h>
40
 
40
 
41
/**
41
/**
42
 * This futex prevents the race between a triplet-to-VFS-node resolution and a
42
 * This futex prevents the race between a triplet-to-VFS-node resolution and a
43
 * concurrent VFS_UNLINK or VFS_RMDIR operation.
43
 * concurrent VFS operation which modifies the file system namespace.
44
 */
44
 */
45
atomic_t unlink_futex = FUTEX_INITIALIZER;
45
atomic_t namespace_futex = FUTEX_INITIALIZER;
46
 
46
 
47
/**
47
/**
48
 * @}
48
 * @}
49
 */
49
 */