Changeset b3c38750 in mainline for uspace/srv/vfs/vfs_unlink.c
- Timestamp:
- 2008-01-06T13:08:32Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4db6eaf
- Parents:
- 9413c0d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/vfs/vfs_unlink.c
r9413c0d rb3c38750 36 36 */ 37 37 38 #include <atomic.h> 39 #include <futex.h> 38 #include <rwlock.h> 40 39 41 40 /** 42 * This futexprevents the race between a triplet-to-VFS-node resolution and a41 * This rwlock prevents the race between a triplet-to-VFS-node resolution and a 43 42 * concurrent VFS operation which modifies the file system namespace. 44 43 */ 45 atomic_t namespace_futex = FUTEX_INITIALIZER;44 RWLOCK_INITIALIZE(namespace_rwlock); 46 45 47 46 /**
Note:
See TracChangeset
for help on using the changeset viewer.