[Ekiga-devel-list] Compiling the latest ptlib
- From: Julien Puydt <jpuydt free fr>
- To: Ekiga development mailing list <ekiga-devel-list gnome org>
- Subject: [Ekiga-devel-list] Compiling the latest ptlib
- Date: Thu, 30 Apr 2009 13:39:05 +0200
Hi,
this morning I had to apply the attached changes to ptlib's threadpool.h
to get ptlib&opal to compile.
Hope this helps,
Snark
Index: include/ptclib/threadpool.h
===================================================================
--- include/ptclib/threadpool.h (révision 22498)
+++ include/ptclib/threadpool.h (copie de travail)
@@ -260,7 +260,7 @@
else {
// find the worker thread with the matching group ID
- GroupInfoMap_t::iterator g = m_groupInfoMap.find(group);
+ typename GroupInfoMap_t::iterator g = m_groupInfoMap.find(group);
if (g == m_groupInfoMap.end())
worker = (WorkerThread *)AllocateWorker();
else {
@@ -281,14 +281,14 @@
// add group ID to map
if (!internalWork.m_group.empty()) {
- GroupInfoMap_t::iterator r = m_groupInfoMap.find(internalWork.m_group);
+ typename GroupInfoMap_t::iterator r = m_groupInfoMap.find(internalWork.m_group);
if (r != m_groupInfoMap.end())
++r->second.m_count;
else {
GroupInfo info;
info.m_count = 1;
info.m_worker = worker;
- m_groupInfoMap.insert(GroupInfoMap_t::value_type(internalWork.m_group, info));
+ m_groupInfoMap.insert(typename GroupInfoMap_t::value_type(internalWork.m_group, info));
}
}
@@ -318,7 +318,7 @@
// update group information
if (!internalWork.m_group.empty()) {
- GroupInfoMap_t::iterator r = m_groupInfoMap.find(internalWork.m_group);
+ typename GroupInfoMap_t::iterator r = m_groupInfoMap.find(internalWork.m_group);
PAssert(r != m_groupInfoMap.end(), "Attempt to find thread from unknown work group");
if (r != m_groupInfoMap.end()) {
if (--r->second.m_count == 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]