Changeset 897fd8f1 in mainline for kernel/generic/src/ipc/ipc.c
- Timestamp:
- 2017-12-19T18:18:15Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 55b56f4
- Parents:
- 7f11dc6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/ipc.c
r7f11dc6 r897fd8f1 538 538 539 539 restart: 540 rc = waitq_sleep_timeout(&box->wq, usec, flags );541 if ( SYNCH_FAILED(rc))540 rc = waitq_sleep_timeout(&box->wq, usec, flags, NULL); 541 if (rc != EOK) 542 542 return NULL; 543 543 … … 638 638 phone = list_get_instance(list_first(&box->connected_phones), 639 639 phone_t, link); 640 if ( SYNCH_FAILED(mutex_trylock(&phone->lock))) {640 if (mutex_trylock(&phone->lock) != EOK) { 641 641 irq_spinlock_unlock(&box->lock, true); 642 642 DEADLOCK_PROBE(p_phonelck, DEADLOCK_THRESHOLD);
Note:
See TracChangeset
for help on using the changeset viewer.