Changeset 414e09d in mainline
- Timestamp:
- 2018-03-11T07:35:05Z (7 years ago)
- Children:
- 6df41418
- Parents:
- 3097958
- git-author:
- Jakub Jermar <jakub@…> (2018-01-05 20:40:40)
- git-committer:
- Jakub Jermar <jakub@…> (2018-03-11 07:35:05)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/ipc.c
r3097958 r414e09d 440 440 /** Disconnect phone from answerbox. 441 441 * 442 * This call leaves the phone in the HUNGUP state. The change to 'free' is done443 * lazily later.442 * This call leaves the phone in the hung-up state. The phone is destroyed when 443 * its last active call is answered and there are no references to it. 444 444 * 445 445 * @param phone Phone structure to be hung up. … … 755 755 756 756 mutex_lock(&phone->lock); 757 if ((phone->state == IPC_PHONE_HUNGUP) &&758 (atomic_get(&phone->active_calls) == 0)) {759 phone->state = IPC_PHONE_FREE;760 phone->callee = NULL;761 }762 757 763 758 /*
Note:
See TracChangeset
for help on using the changeset viewer.