Changeset f307f12 in mainline for uspace/srv/bd


Ignore:
Timestamp:
2009-10-11T16:26:01Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c088fd4
Parents:
c123609 (diff), ba8f8cb (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:

Merge experimental support for timeoutable fibril condition variables.
The merge includes a fix for an IPC/async framework problem caused by the fact
that timeoutable entities in the async framework (and also fibril
synchronization code) often call gettimeofday() when async_futex is held, and
the fact that gettimeofday() had a dependency on async framework.

Location:
uspace/srv/bd
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/bd/ata_bd/ata_bd.c

    rc123609 rf307f12  
    252252        ipc_answer_0(iid, EOK);
    253253
    254         if (!ipc_share_out_receive(&callid, &comm_size, &flags)) {
     254        if (!async_share_out_receive(&callid, &comm_size, &flags)) {
    255255                ipc_answer_0(callid, EHANGUP);
    256256                return;
     
    263263        }
    264264
    265         (void) ipc_share_out_finalize(callid, fs_va);
     265        (void) async_share_out_finalize(callid, fs_va);
    266266
    267267        while (1) {
  • uspace/srv/bd/file_bd/file_bd.c

    rc123609 rf307f12  
    130130        ipc_answer_0(iid, EOK);
    131131
    132         if (!ipc_share_out_receive(&callid, &comm_size, &flags)) {
     132        if (!async_share_out_receive(&callid, &comm_size, &flags)) {
    133133                ipc_answer_0(callid, EHANGUP);
    134134                return;
     
    141141        }
    142142
    143         (void) ipc_share_out_finalize(callid, fs_va);
     143        (void) async_share_out_finalize(callid, fs_va);
    144144
    145145        while (1) {
  • uspace/srv/bd/gxe_bd/gxe_bd.c

    rc123609 rf307f12  
    185185        ipc_answer_0(iid, EOK);
    186186
    187         if (!ipc_share_out_receive(&callid, &comm_size, &flags)) {
     187        if (!async_share_out_receive(&callid, &comm_size, &flags)) {
    188188                ipc_answer_0(callid, EHANGUP);
    189189                return;
     
    201201        }
    202202
    203         (void) ipc_share_out_finalize(callid, fs_va);
     203        (void) async_share_out_finalize(callid, fs_va);
    204204
    205205        while (1) {
  • uspace/srv/bd/rd/rd.c

    rc123609 rf307f12  
    102102         */
    103103        int flags;
    104         if (ipc_share_out_receive(&callid, &comm_size, &flags)) {
     104        if (async_share_out_receive(&callid, &comm_size, &flags)) {
    105105                fs_va = as_get_mappable_page(comm_size);
    106106                if (fs_va) {
    107                         (void) ipc_share_out_finalize(callid, fs_va);
     107                        (void) async_share_out_finalize(callid, fs_va);
    108108                } else {
    109109                        ipc_answer_0(callid, EHANGUP);
Note: See TracChangeset for help on using the changeset viewer.