/* * Copyright 1995, 2000 Perforce Software. All rights reserved. * * This file is part of Perforce - the FAST SCM System. */ /* * NtThreadList - Class supporting Threader::Reap for NT * * Public methods: * * NtThreadList::NtThreadList() * NtThreadList::~NtThreadList() * * NtThreadList::AddThread() * NtThreadList::RemoveThread() * NtThreadList::GetThread() */ #ifndef NTTHDLIST_H__ #define NTTHDLIST_H__ class NtThreadList { struct NtThreadEntry { void *key; DWORD tid; struct NtThreadEntry *next; struct NtThreadEntry *prev; } ; public: NtThreadList(); virtual ~NtThreadList(); void AddThread( void *k, DWORD tid ); int RemoveThread( void *k ); void SuspendThreads(); int Empty(); int GetThreadCount(); private: NtThreadEntry *head; CRITICAL_SECTION section; int listSize; }; #endif // NTTHDLIST_H__
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 18760 | rlranft |
Populate -o //guest/perforce_software/p4/... //guest/rlranft/p4/.... |
||
//guest/perforce_software/p4/2014-1/sys/ntthdlist.h | |||||
#1 | 15902 | Matt Attaway | A second renaming that I will not obliterate as a badge of shame | ||
//guest/perforce_software/p4/2014_1/sys/ntthdlist.h | |||||
#1 | 15901 | Matt Attaway | Clean up code to fit modern Workshop naming standards | ||
//guest/perforce_software/p4/2014.1/sys/ntthdlist.h | |||||
#1 | 12188 | Matt Attaway | Move 'main' p4 into a release specific directory in prep for new releases | ||
//guest/perforce_software/p4/sys/ntthdlist.h | |||||
#1 | 9129 | Matt Attaway | Initial commit of the 2014.1 p4/p4api source code |