[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sptk-commits
Subject:    r1639 - trunk/sptk4
From:       alexey () mail ! total-knowledge ! com
Date:       2011-09-27 23:36:32
Message-ID: courier.000000004E825E00.00001831 () mail ! total-knowledge ! com
[Download RAW message or body]

Author: alexey
Date: 2011-09-27 16:36:31 -0700 (Tue, 27 Sep 2011)
New Revision: 1639

Modified:
   trunk/sptk4/CThreadPool.h
Log:
Compilation fix for gcc 3.x


Modified: trunk/sptk4/CThreadPool.h
===================================================================
--- trunk/sptk4/CThreadPool.h	2011-09-27 00:15:44 UTC (rev 1638)
+++ trunk/sptk4/CThreadPool.h	2011-09-27 23:36:31 UTC (rev 1639)
@@ -192,8 +192,10 @@
         {}
     };
 
+    typedef CSafeList<TaskRunInfo> TaskRunInfoList;
+
     /// @brief Task list type definition
-    class TaskList : public CSafeList<TaskRunInfo>
+    class TaskList : public TaskRunInfoList
     {
     public:
         /// @brief Constructor
@@ -201,7 +203,7 @@
         /// If maxListItems is omitted or 0, the list is limited only with available memory.
         /// Otherwise, when list is full, push() will block until a task leaves the list.
         /// @param maxListItems uint32_t, Maximum number of tasks allowed in the list
-        TaskList(uint32_t maxListItems=0) : CSafeList(maxListItems) {}
+        TaskList(uint32_t maxListItems=0) : TaskRunInfoList(maxListItems) {}
 
         /// @brief Removes a task from the list
         ///

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic