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

Changeset 4a8d0dd1 in mainline


Ignore:
Timestamp:
2018-11-05T17:31:39Z (3 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
24cd6e5, 6454db5e, 88cc71c0, ac9e79d
Parents:
6f7071b
Message:

Do not async_accept_0() callback connections

Callback connections do not have the initial call which must be
accepted. The async framework asserts on attempts to answer or accept
calls with invalid capability handler.

Location:
uspace
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/wavplay/dplay.c

    r6f7071b r4a8d0dd1  
    9696static void device_event_callback(ipc_call_t *icall, void *arg)
    9797{
    98         async_accept_0(icall);
    9998        playback_t *pb = arg;
    10099        const size_t fragment_size = pb->buffer.size / DEFAULT_FRAGMENTS;
  • uspace/app/wavplay/drec.c

    r6f7071b r4a8d0dd1  
    9494static void device_event_callback(ipc_call_t *icall, void *arg)
    9595{
    96         async_accept_0(icall);
    9796        record_t *rec = arg;
    9897        const size_t buffer_part = rec->buffer.size / BUFFER_PARTS;
  • uspace/srv/audio/hound/audio_device.c

    r6f7071b r4a8d0dd1  
    268268        errno_t ret;
    269269
    270         /* Answer initial request */
    271         async_accept_0(icall);
    272270        audio_device_t *dev = arg;
    273271        assert(dev);
Note: See TracChangeset for help on using the changeset viewer.