/* * 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/2015-1/sys/ntthdlist.h | |||||
#1 | 15903 | Matt Attaway | Everything should be happy now between the Workshop and the depot paths | ||
//guest/perforce_software/p4/2015_1/sys/ntthdlist.h | |||||
#1 | 15901 | Matt Attaway | Clean up code to fit modern Workshop naming standards | ||
//guest/perforce_software/p4/2015.1/sys/ntthdlist.h | |||||
#1 | 12190 | Matt Attaway | Initial drop of 2015.1 p4/p4api source |