Skip to content

Fix concurrency bug #21

Description

@halfer53
if(is_debugging_ipc()){
                KDEBUG(("IPC: SEND to %d from %d blocked\n",
                            dest, src->proc_nr));
            }
            // Otherwise, block current process and add it to
            // head of sending queue of the destination.
            src->state |= STATE_SENDING;
            src->next_sender = pDest->sender_q;
            pDest->sender_q = src;

This part could trigger undefined behavior if the sender is already receiving

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions