Changeset 7171760 in mainline for uspace/lib/c/include/task.h


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

Rework the way how open files are passed from parent task to child.

  • Instead of passing fdi_node_t's, pass handles directly using the IPC_M_STATE_CHANGE_AUTHORIZE mechanism.
  • Remove open_node(), fd_node(), fdi_node_t.
  • Replace fopen_node() with fopen_handle().
  • Replace fnode() with fhandle().
  • The child task does not synchronize with VFS yet.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/task.h

    r866e627 r7171760  
    3838#include <sys/types.h>
    3939
    40 typedef struct fdi_node fdi_node_t;
    41 
    4240typedef uint64_t task_id_t;
    4341
     
    5452extern int task_spawnv(task_id_t *, const char *path, const char *const []);
    5553extern int task_spawnvf(task_id_t *, const char *path, const char *const [],
    56     fdi_node_t *const []);
     54    int *const []);
    5755extern int task_spawnl(task_id_t *, const char *path, ...);
    5856
Note: See TracChangeset for help on using the changeset viewer.