mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-17 12:02:48 +01:00
12 lines
227 B
C++
12 lines
227 B
C++
#include "concurrentrun.h"
|
|
|
|
namespace ConcurrentRun {
|
|
|
|
void Run(
|
|
QThreadPool* threadpool,
|
|
std::tr1::function<void ()> function) {
|
|
(new ThreadFunctorVoid(function))->Start(threadpool);
|
|
}
|
|
|
|
} // namespace ConcurrentRun
|