VirtualBox

Changeset 96052 in vbox for trunk/src/VBox/Runtime/include


Ignore:
Timestamp:
Aug 5, 2022 10:48:48 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
152851
Message:

IPRT/nocrt: Added no-CRT per-thread data like errno and strtok state. Implemented strtol and errno accessor. bugref:10261

Location:
trunk/src/VBox/Runtime/include/internal
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/include/internal/thread.h

    r94718 r96052  
    4242#ifdef RT_WITH_ICONV_CACHE
    4343# include "internal/string.h"
     44#endif
     45#if defined(IPRT_NO_CRT) && defined(IN_RING3)
     46# include "internal/nocrt.h"
    4447#endif
    4548
     
    106109    /** Handle cache for iconv.
    107110     * @remarks ASSUMES sizeof(void *) >= sizeof(iconv_t). */
    108     void *ahIconvs[RTSTRICONV_END];
     111    void                   *ahIconvs[RTSTRICONV_END];
    109112#endif
    110113#ifdef IPRT_WITH_GENERIC_TLS
     
    114117    /** Thread name. */
    115118    char                    szName[RTTHREAD_NAME_LEN];
     119#if defined(IPRT_NO_CRT) && defined(IN_RING3)
     120    /** No-CRT per thread data. */
     121    RTNOCRTTHREADDATA       NoCrt;
     122#endif
    116123} RTTHREADINT;
    117124/** Pointer to the internal representation of a thread. */
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