Have the wget process allow the resolver process to initialize properly.
This commit is contained in:
parent
74dfff972f
commit
7360444c94
|
@ -149,10 +149,14 @@ app_quit(void)
|
||||||
PROCESS_THREAD(wget_process, ev, data)
|
PROCESS_THREAD(wget_process, ev, data)
|
||||||
{
|
{
|
||||||
static char name[32];
|
static char name[32];
|
||||||
|
static unsigned char i;
|
||||||
|
|
||||||
PROCESS_BEGIN();
|
PROCESS_BEGIN();
|
||||||
|
|
||||||
|
/* Allow other processes to initialize properly. */
|
||||||
|
for(i = 0; i < 10; ++i) {
|
||||||
PROCESS_PAUSE();
|
PROCESS_PAUSE();
|
||||||
|
}
|
||||||
|
|
||||||
fputs("\nGet url:", stdout);
|
fputs("\nGet url:", stdout);
|
||||||
gets(url);
|
gets(url);
|
||||||
|
|
Loading…
Reference in a new issue