Changeset 27b76ca in mainline for uspace/srv/loader/main.c


Ignore:
Timestamp:
2011-08-18T14:05:10Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
44451ee
Parents:
b33ec43
Message:

Synchronize VFS handle acceptor with VFS.

  • Introduce VFS_IN_WAIT_HANDLE.
  • Add vfs_wait_handle() to VFS.
  • Add fd_wait() to libc.
  • Use fd_wait() in loader.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/loader/main.c

    rb33ec43 r27b76ca  
    242242        for (filc = 0; filc < count; filc++) {
    243243                ipc_callid_t callid;
     244                int fd;
    244245
    245246                if (!async_state_change_receive(&callid, NULL, NULL, NULL)) {
     
    248249                }
    249250                async_state_change_finalize(callid, vfs_exch);
     251                fd = fd_wait();
     252                assert(fd == (int) filc);
    250253        }
    251254
Note: See TracChangeset for help on using the changeset viewer.