Changeset 33c2952 in mainline for uspace/lib/c/generic/async.c
- Timestamp:
- 2012-11-07T21:00:02Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- dcb0751
- Parents:
- fc89e32 (diff), 94795812 (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
rfc89e32 r33c2952 416 416 .key_hash = client_key_hash, 417 417 .key_equal = client_key_equal, 418 .equal = 0,419 .remove_callback = 0418 .equal = NULL, 419 .remove_callback = NULL 420 420 }; 421 421 … … 452 452 .key_hash = conn_key_hash, 453 453 .key_equal = conn_key_equal, 454 .equal = 0,455 .remove_callback = 0454 .equal = NULL, 455 .remove_callback = NULL 456 456 }; 457 457 … … 628 628 629 629 if (usecs) { 630 get timeofday(&conn->wdata.to_event.expires, NULL);630 getuptime(&conn->wdata.to_event.expires); 631 631 tv_add(&conn->wdata.to_event.expires, usecs); 632 632 } else … … 947 947 { 948 948 struct timeval tv; 949 get timeofday(&tv, NULL);949 getuptime(&tv); 950 950 951 951 futex_down(&async_futex); … … 1004 1004 1005 1005 struct timeval tv; 1006 get timeofday(&tv, NULL);1006 getuptime(&tv); 1007 1007 1008 1008 if (tv_gteq(&tv, &waiter->to_event.expires)) { … … 1309 1309 timeout = 0; 1310 1310 1311 get timeofday(&msg->wdata.to_event.expires, NULL);1311 getuptime(&msg->wdata.to_event.expires); 1312 1312 tv_add(&msg->wdata.to_event.expires, timeout); 1313 1313 … … 1391 1391 msg->wdata.fid = fibril_get_id(); 1392 1392 1393 get timeofday(&msg->wdata.to_event.expires, NULL);1393 getuptime(&msg->wdata.to_event.expires); 1394 1394 tv_add(&msg->wdata.to_event.expires, timeout); 1395 1395
Note:
See TracChangeset
for help on using the changeset viewer.