VirtualBox

Ignore:
Timestamp:
Feb 14, 2008 5:39:02 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
28130
Message:

Generic implementation (in case it's needed).

File:
1 edited

Legend:

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

    r5999 r6961  
    7979/** Max thread name length. */
    8080#define RTTHREAD_NAME_LEN 16
     81#ifdef IPRT_WITH_GENERIC_TLS
     82/** The number of TLS entries for the generic implementation. */
     83# define RTTHREAD_TLS_ENTRIES 64
     84#endif
    8185
    8286/**
     
    133137    RTUINTPTR volatile      uBlockId;
    134138#endif /* IN_RING3 */
     139#ifdef IPRT_WITH_GENERIC_TLS
     140    /** The TLS entries for this thread. */
     141    void                   *apvTlsEntries[RTTHREAD_TLS_ENTRIES];
     142#endif
    135143    /** Thread name. */
    136144    char                    szName[RTTHREAD_NAME_LEN];
     
    222230int rtThreadDoSetProcPriority(RTPROCPRIORITY enmPriority);
    223231#endif /* !IN_RING0 */
     232#ifdef IPRT_WITH_GENERIC_TLS
     233void rtThreadClearTlsEntry(RTTLS iTls);
     234void rtThreadTlsDestruction(PRTTHREADINT pThread); /* in tls-generic.cpp */
     235#endif
    224236
    225237__END_DECLS
Note: See TracChangeset for help on using the changeset viewer.

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