Changeset 5f97ef44 in mainline for uspace/srv
- Timestamp:
- 2018-07-13T14:10:15Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e3787a0
- Parents:
- 9912f49
- git-author:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-07-13 14:08:57)
- git-committer:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-07-13 14:10:15)
- Location:
- uspace/srv
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/input/port/chardev.c
r9912f49 r5f97ef44 87 87 /* XXX This is just a hack. */ 88 88 printf("%s: No input device found, sleep for retry.\n", NAME); 89 async_usleep(1000 * 1000);89 fibril_usleep(1000 * 1000); 90 90 goto again; 91 91 } -
uspace/srv/hid/isdv4_tablet/isdv4.c
r9912f49 r5f97ef44 391 391 return EIO; 392 392 393 async_usleep(250000); /* 250 ms */393 fibril_usleep(250000); /* 250 ms */ 394 394 395 395 // FIXME: Read all possible garbage before sending commands -
uspace/srv/net/tcp/test.c
r9912f49 r5f97ef44 79 79 printf("S: User received %zu bytes '%s'.\n", rcvd, rcv_buf); 80 80 81 async_usleep(1000 * 1000 * 2);81 fibril_usleep(1000 * 1000 * 2); 82 82 } 83 83 84 async_usleep(/*10**/1000 * 1000);84 fibril_usleep(/*10**/1000 * 1000); 85 85 86 86 printf("S: User close...\n"); … … 107 107 epp.remote.port = 80; 108 108 109 async_usleep(1000 * 1000 * 3);109 fibril_usleep(1000 * 1000 * 3); 110 110 printf("C: User open...\n"); 111 111 tcp_uc_open(&epp, ap_active, 0, &conn); 112 112 conn->name = (char *) "C"; 113 113 114 async_usleep(1000 * 1000 * 10);114 fibril_usleep(1000 * 1000 * 10); 115 115 printf("C: User send...\n"); 116 116 tcp_uc_send(conn, (void *)msg, str_size(msg), 0); 117 117 118 async_usleep(1000 * 1000 * 20/**20*2*/);118 fibril_usleep(1000 * 1000 * 20/**20*2*/); 119 119 printf("C: User close...\n"); 120 120 tcp_uc_close(conn); … … 130 130 printf("tcp_test()\n"); 131 131 132 async_usleep(1000 * 1000);132 fibril_usleep(1000 * 1000); 133 133 134 134 if (0) {
Note:
See TracChangeset
for help on using the changeset viewer.