Changeset 10d6b858 in mainline for uspace/srv/vfs/vfs_rdwr.c
- Timestamp:
- 2008-01-06T16:40:58Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 222e57c
- Parents:
- 4db6eaf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/vfs/vfs_rdwr.c
r4db6eaf r10d6b858 83 83 84 84 /* 85 * Lock the open file structure so that no other thread can manipulate 86 * the same open file at a time. 87 */ 88 futex_down(&file->lock); 89 90 /* 85 91 * Lock the file's node so that no other client can read/write to it at 86 92 * the same time. … … 127 133 128 134 /* 129 * Update the position pointer .135 * Update the position pointer and unlock the open file. 130 136 */ 131 137 file->pos += bytes; 138 futex_up(&file->lock); 132 139 133 140 /*
Note:
See TracChangeset
for help on using the changeset viewer.