Changeset 3bacee1 in mainline for uspace/lib/c/generic/async.c
- Timestamp:
- 2018-04-12T16:27:17Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3cf22f9
- Parents:
- 76d0981d
- git-author:
- Jiri Svoboda <jiri@…> (2018-04-11 19:25:33)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-04-12 16:27:17)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/async.c
r76d0981d r3bacee1 943 943 link_t *tmp = timeout_list.head.next; 944 944 while (tmp != &timeout_list.head) { 945 awaiter_t *cur 946 =list_get_instance(tmp, awaiter_t, to_event.link);945 awaiter_t *cur = 946 list_get_instance(tmp, awaiter_t, to_event.link); 947 947 948 948 if (tv_gteq(&cur->to_event.expires, &wd->to_event.expires)) … … 1255 1255 */ 1256 1256 futex_down(&async_futex); 1257 if ((usecs) && (conn->wdata.to_event.occurred) 1258 &&(list_empty(&conn->msg_queue))) {1257 if ((usecs) && (conn->wdata.to_event.occurred) && 1258 (list_empty(&conn->msg_queue))) { 1259 1259 /* If we timed out -> exit */ 1260 1260 futex_up(&async_futex);
Note:
See TracChangeset
for help on using the changeset viewer.