Changeset ccc3debf in mainline for uspace/lib/c/generic/async.c
- Timestamp:
- 2012-09-17T13:18:41Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 619e6d56
- Parents:
- 00b4a68 (diff), 289fa65 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/async.c
r00b4a68 rccc3debf 638 638 639 639 if (usecs) { 640 get timeofday(&conn->wdata.to_event.expires, NULL);640 getuptime(&conn->wdata.to_event.expires); 641 641 tv_add(&conn->wdata.to_event.expires, usecs); 642 642 } else … … 967 967 { 968 968 struct timeval tv; 969 get timeofday(&tv, NULL);969 getuptime(&tv); 970 970 971 971 futex_down(&async_futex); … … 1024 1024 1025 1025 struct timeval tv; 1026 get timeofday(&tv, NULL);1026 getuptime(&tv); 1027 1027 1028 1028 if (tv_gteq(&tv, &waiter->to_event.expires)) { … … 1331 1331 timeout = 0; 1332 1332 1333 get timeofday(&msg->wdata.to_event.expires, NULL);1333 getuptime(&msg->wdata.to_event.expires); 1334 1334 tv_add(&msg->wdata.to_event.expires, timeout); 1335 1335 … … 1413 1413 msg->wdata.fid = fibril_get_id(); 1414 1414 1415 get timeofday(&msg->wdata.to_event.expires, NULL);1415 getuptime(&msg->wdata.to_event.expires); 1416 1416 tv_add(&msg->wdata.to_event.expires, timeout); 1417 1417
Note:
See TracChangeset
for help on using the changeset viewer.