Changeset 81614543 in mainline
- Timestamp:
- 2007-11-11T13:06:15Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7c5bcc0
- Parents:
- 6c4ff8a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/vfs/vfs_register.c
r6c4ff8a r81614543 39 39 #include <ipc/services.h> 40 40 #include <async.h> 41 #include <fibril.h> 41 42 #include <errno.h> 42 43 #include <stdio.h> … … 339 340 */ 340 341 futex_down(&fs->phone_futex); 342 /* 343 * Avoid deadlock with other fibrils in the same thread 344 * by disabling fibril preemption. 345 */ 346 fibril_inc_sercount(); 341 347 return fs->phone; 342 348 } … … 354 360 bool found = false; 355 361 362 /* 363 * Undo the fibril_inc_sercount() done in vfs_grab_phone(). 364 */ 365 fibril_dec_sercount(); 366 356 367 futex_down(&fs_head_futex); 357 368 link_t *cur;
Note:
See TracChangeset
for help on using the changeset viewer.