Listing 2-4. lwip_sysboot_threadtype_RunFunction()
Implementation
2-14
Getting Started with ADSP-BF537 EZ-KIT Lite
}
VDK_ThreadCreationBlock TCB = {
kCaesar_Cipher_ThreadType,
(VDK_ThreadID)0,
0,
(VDK_Priority)0,
(void *) iSocket,
0
};
if ( UINT_MAX == VDK_CreateThreadEx ( &TCB ) )
{
printf( "Call to VDK_CreateThreadEx()failed.\n" );
abort();
}
}
}
/* Put the thread's exit from "main" HERE */
/* A thread is automatically Destroyed when it exits its run
function */
}
www.BDTIC.com/ADI