Switch to unified view
a/libupnpp/workqueue.hxx | b/libupnpp/workqueue.hxx | ||
---|---|---|---|
... |
... |
||
88 | int err; |
88 | int err; |
89 | pthread_t thr; |
89 | pthread_t thr; |
90 | if ((err = pthread_create(&thr, 0, workproc, arg))) { |
90 | if ((err = pthread_create(&thr, 0, workproc, arg))) { |
91 | return false; |
91 | return false; |
92 | } |
92 | } |
93 | m_worker_threads.insert(pair<pthread_t, WQTData>(thr, WQTData())); |
93 | m_worker_threads.insert(std::pair<pthread_t, WQTData>(thr, WQTData()));
|
94 | } |
94 | } |
95 | return true; |
95 | return true; |
96 | } |
96 | } |
97 | 97 | ||
98 | /** Add item to work queue, called from client. |
98 | /** Add item to work queue, called from client. |