fw4spl
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Worker.cpp
1
/* ***** BEGIN LICENSE BLOCK *****
2
* FW4SPL - Copyright (C) IRCAD, 2009-2017.
3
* Distributed under the terms of the GNU Lesser General Public License (LGPL) as
4
* published by the Free Software Foundation.
5
* ****** END LICENSE BLOCK ****** */
6
7
#include "fwThread/Worker.hpp"
8
9
namespace
fwThread
10
{
11
12
//------------------------------------------------------------------------------
13
14
ThreadIdType
getCurrentThreadId
()
15
{
16
return
std::this_thread::get_id();
17
}
18
19
//SPTR(Worker) Worker::defaultFactory() => WorkerAsio.cpp
20
21
}
//namespace fwThread
fwThread::getCurrentThreadId
FWTHREAD_API ThreadIdType getCurrentThreadId()
Returns the current thread id.
Definition:
Worker.cpp:14
fwThread
This namespace fwThread provides few tools to execute asynchronous tasks on different threads...
Definition:
SSliceIndexDicomEditor.hpp:33
SrcLib
core
fwThread
src
fwThread
Worker.cpp
Generated on Wed Sep 5 2018 12:48:01 for fw4spl by
1.8.11