Turi Create  4.0
thread.hpp
1 /* Copyright © 2017 Apple Inc. All rights reserved.
2  *
3  * Use of this source code is governed by a BSD-3-clause license that can
4  * be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause
5  */
6 #ifndef __TC_VISUALIZATION_THREAD
7 #define __TC_VISUALIZATION_THREAD
8 
9 #include <functional>
10 
11 namespace turi {
12  namespace visualization {
13  void run_thread(std::function<void()> func);
14  }
15 } // ::turi::visualization
16 
17 #endif // __TC_VISUALIZATION_THREAD