Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 7907cf9 in mainline


Ignore:
Timestamp:
2010-12-26T11:01:44Z (11 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
c1c0184
Parents:
3750c06
Message:

Clean up nomenclature of async sessions (formerly relations).

Location:
uspace
Files:
1 added
1 deleted
3 edited
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/Makefile

    r3750c06 r7907cf9  
    8787        generic/ipc.c \
    8888        generic/async.c \
    89         generic/async_rel.c \
     89        generic/async_sess.c \
    9090        generic/loader.c \
    9191        generic/getopt.c \
  • uspace/lib/c/generic/libc.c

    r3750c06 r7907cf9  
    5050#include <ipc/ipc.h>
    5151#include <async.h>
    52 #include <async_rel.h>
     52#include <async_sess.h>
    5353#include <as.h>
    5454#include <loader/pcb.h>
     
    6666        __heap_init();
    6767        __async_init();
    68         (void) async_rel_init();
     68        (void) async_sess_init();
    6969        fibril_t *fibril = fibril_setup();
    7070        __tcb_set(fibril->tcb);
  • uspace/lib/c/include/async_sess.h

    r3750c06 r7907cf9  
    3333 */
    3434
    35 #ifndef LIBC_ASYNC_REL_H_
    36 #define LIBC_ASYNC_REL_H_
     35#ifndef LIBC_ASYNC_SESS_H_
     36#define LIBC_ASYNC_SESS_H_
    3737
    38 extern int async_rel_init(void);
    39 extern int async_relation_create(int);
    40 extern void async_relation_destroy(int, int);
     38extern int async_sess_init(void);
     39extern int async_transaction_begin(int);
     40extern void async_transaction_end(int, int);
    4141
    4242#endif
  • uspace/srv/vfs/vfs_register.c

    r3750c06 r7907cf9  
    3939#include <ipc/services.h>
    4040#include <async.h>
    41 #include <async_rel.h>
     41#include <async_sess.h>
    4242#include <fibril.h>
    4343#include <fibril_synch.h>
     
    270270                        fibril_mutex_unlock(&fs_head_lock);
    271271                        fibril_mutex_lock(&fs->phone_lock);
    272                         phone = async_relation_create(fs->phone);
     272                        phone = async_transaction_begin(fs->phone);
    273273                        fibril_mutex_unlock(&fs->phone_lock);
    274274
     
    296296                        fibril_mutex_unlock(&fs_head_lock);
    297297                        fibril_mutex_lock(&fs->phone_lock);
    298                         async_relation_destroy(fs->phone, phone);
     298                        async_transaction_end(fs->phone, phone);
    299299                        fibril_mutex_unlock(&fs->phone_lock);
    300300                        return;
Note: See TracChangeset for help on using the changeset viewer.