Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/async_sess.c

    r47b7006 r8b5c8ae  
    9999
    100100#include <async_sess.h>
     101#include <ipc/ipc.h>
    101102#include <fibril_synch.h>
    102103#include <adt/list.h>
     
    105106#include <errno.h>
    106107#include <assert.h>
    107 #include "private/async_sess.h"
    108108
    109109/** An inactive open connection. */
     
    138138 *
    139139 * Needs to be called prior to any other interface in this file.
    140  *
    141  */
    142 void __async_sess_init(void)
     140 */
     141void _async_sess_init(void)
    143142{
    144143        fibril_mutex_initialize(&async_sess_mutex);
     
    201200                list_remove(&conn->global_link);
    202201               
    203                 async_hangup(conn->data_phone);
     202                ipc_hangup(conn->data_phone);
    204203                free(conn);
    205204        }
     
    261260                        data_phone = conn->data_phone;
    262261                        free(conn);
    263                         async_hangup(data_phone);
     262                        ipc_hangup(data_phone);
    264263                        goto retry;
    265264                } else {
     
    293292                 * means that we simply hang up.
    294293                 */
    295                 async_hangup(data_phone);
     294                ipc_hangup(data_phone);
    296295                fibril_mutex_unlock(&async_sess_mutex);
    297296                return;
Note: See TracChangeset for help on using the changeset viewer.