fThreads
ThreadList fThreads;
if (fThreads.size() <= 0)
fThreadSem = create_sem(fThreads.size(), "ThreadSem");
for (typename ThreadManagerMap::iterator i = fThreads.begin();
i != fThreads.end ();
err = acquire_sem_etc(fThreadSem, fThreads.size(), B_RELATIVE_TIMEOUT, 500000);
release_sem_etc(fThreadSem, fThreads.size(), 0);
fThreads.clear();
ThreadManagerMap fThreads;
for (typename ThreadManagerMap::iterator it = fThreads.begin(); it != fThreads.end (); ++it) {
if (fThreads.find(threadName) == fThreads.end()) {
fThreads[threadName] = new BThreadManager<TestClass, ExpectedException>(threadName, fObject, method, fThreadSem);
DownStreamThread* fThreads;
fThreads(NULL),
delete[] fThreads;
fThreads = new(std::nothrow) DownStreamThread[fThreadCount];
if (!fThreads)
status_t error = fThreads[i].Init(this,
fThreads[i].Run();
if (fThreads) {
fThreads[i].Terminate();
return fThreads.BinaryInsert(thread, &Thread::CompareByCreationTimeID);
fThreads(20),
for (int32 i = 0; Thread* thread = fThreads.ItemAt(i); i++)
return fThreads.CountItems();
return fThreads.ItemAt(index);
return fThreads.BinarySearchByKey(id, &Thread::CompareWithID);
if (!fThreads.BinaryInsert(thread, &Thread::CompareByID))
fThreads.RemoveItem(thread);
ThreadList fThreads; // sorted by ID
ThreadList fThreads; // sorted by creation time, ID
return fThreads.CountItems();
Thread* thread = fThreads.ItemAt(rowIndex);
Thread* thread = fThreads.ItemAt(rowIndex);
return fThreads.ItemAt(index);
BObjectList<Thread> fThreads;
for (int32 i = 0; Thread* thread = fThreads.ItemAt(i); i++)
fThreads.MakeEmpty();
while (Thread* oldThread = fThreads.ItemAt(index)) {
fThreads.RemoveItemAt(index);
int32 countBefore = fThreads.CountItems();
if (!fThreads.AddItem(newThread))
int32 count = fThreads.CountItems();
fThreads.Add(thread);
fThreads.Add(thread);
fThreads.Remove(thread);
ThreadList::Iterator it = fThreads.GetIterator();
ThreadList::Iterator it = fThreads.GetIterator();
ThreadList::Iterator it = fThreads.GetIterator();
fThreads(),
ThreadList fThreads;
fThreads(20),
fThreads.AddItem(thread);
fThreads.RemoveItem(thread, true);
for (int32 i = 0; Thread* thread = fThreads.ItemAt(i); i++) {
return fThreads.CountItems();
return fThreads.ItemAt(index);
BObjectList<Thread, true> fThreads;
while (Thread* thread = fThreads.RemoveHead())
fThreads.Add(thread);
fThreads.Remove(thread);
for (ThreadList::ConstIterator it = fThreads.GetIterator();
return fThreads;
fThreads.push_back(thread);
for (i = fThreads.begin(); i != fThreads.end();) {
i = fThreads.erase(i);
for (i = fThreads.begin(); i != fThreads.end(); ) {
i = fThreads.erase(i);
for (i = fThreads.begin(); i != fThreads.end(); ) {
i = fThreads.erase(i);
for (i = fThreads.begin(); i != fThreads.end(); ) {
i = fThreads.erase(i);
return (i = fThreads.erase(i));
std::list<RegistrarThread*> fThreads;
while (Thread *thread = fThreads.Head()) {
fThreads.Remove(thread);
fThreads.Add(thread);
ThreadList fThreads;
entry->contextNext = entry->context->fThreads;
entry->context->fThreads = entry;
entry = &entryToRemove->context->fThreads;
fThreads(NULL),
ThreadEntry* fThreads;