VirtualBox

Ignore:
Timestamp:
Oct 26, 2010 12:27:50 PM (14 years ago)
Author:
vboxsync
Message:

*: Fixes for incorrect RTStrAPrintf usage (it does NOT return an IPRT status code) and the odd bugs nearby.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/lwip/vbox/sys_arch.c

    r28800 r33464  
    383383{
    384384    int rc;
    385     char *pszThread = NULL;
    386385#if SYS_LIGHTWEIGHT_PROT
    387386    SYS_ARCH_DECL_PROTECT(old_level);
     
    400399    g_aTLS[id].thread = thread;
    401400    g_aTLS[id].arg = arg;
    402     RTStrAPrintf(&pszThread, "lwIP%u", id);
    403     rc = RTThreadCreate(&tid, sys_thread_adapter, &g_aTLS[id], 0,
    404                         RTTHREADTYPE_IO, 0, pszThread);
     401    rc = RTThreadCreateF(&tid, sys_thread_adapter, &g_aTLS[id], 0,
     402                         RTTHREADTYPE_IO, 0, "lwIP%u", id);
    405403    if (RT_FAILURE(rc))
    406404    {
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette