Ignore:
Timestamp:
Feb 25, 2012, 2:38:42 PM (11 years ago)
Author:
sam
Message:

threads: change Queue to a template so that we can manage the element type.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/tutorial/tut03.cpp

    r1136 r1144  
    770770    /* Worker threads */
    771771    Thread *m_threads[MAX_THREADS];
    772     Queue m_spawnqueue, m_jobqueue, m_donequeue;
     772    Queue<int> m_spawnqueue, m_jobqueue, m_donequeue;
    773773
    774774    /* Debug information */
Note: See TracChangeset for help on using the changeset viewer.