Changeset 92574f4 in mainline for uspace/lib/c/generic/async_sess.c


Ignore:
Timestamp:
2011-02-24T12:03:27Z (13 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e7b7ebd5
Parents:
4837092 (diff), a80849c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merged development (changes in DDF, etc.).

Conflicts in uspace/drv/usbkbd/main.c

File:
1 edited

Legend:

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

    r4837092 r92574f4  
    9999
    100100#include <async_sess.h>
    101 #include <ipc/ipc.h>
    102101#include <fibril_synch.h>
    103102#include <adt/list.h>
     
    106105#include <errno.h>
    107106#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 void _async_sess_init(void)
     140 *
     141 */
     142void __async_sess_init(void)
    142143{
    143144        fibril_mutex_initialize(&async_sess_mutex);
     
    200201                list_remove(&conn->global_link);
    201202               
    202                 ipc_hangup(conn->data_phone);
     203                async_hangup(conn->data_phone);
    203204                free(conn);
    204205        }
     
    260261                        data_phone = conn->data_phone;
    261262                        free(conn);
    262                         ipc_hangup(data_phone);
     263                        async_hangup(data_phone);
    263264                        goto retry;
    264265                } else {
     
    292293                 * means that we simply hang up.
    293294                 */
    294                 ipc_hangup(data_phone);
     295                async_hangup(data_phone);
    295296                fibril_mutex_unlock(&async_sess_mutex);
    296297                return;
Note: See TracChangeset for help on using the changeset viewer.