Sha256: 42796ccbbfe226fb1fa88651f5fedd4341e7d26f2163da135cd8a12fd04acc5e
Contents?: true
Size: 1.96 KB
Versions: 13
Compression:
Stored size: 1.96 KB
Contents
<html><!-- Created using the cpp_pretty_printer from the dlib C++ library. See http://dlib.net for updates. --><head><title>dlib C++ Library - create_new_thread_extension_abstract.h</title></head><body bgcolor='white'><pre> <font color='#009900'>// Copyright (C) 2006 Davis E. King (davis@dlib.net) </font><font color='#009900'>// License: Boost Software License See LICENSE.txt for the full license. </font><font color='#0000FF'>#undef</font> DLIB_CREATE_NEW_THREAD_EXTENSIOn_ABSTRACT_ <font color='#0000FF'>#ifdef</font> DLIB_CREATE_NEW_THREAD_EXTENSIOn_ABSTRACT_ <font color='#0000FF'>#include</font> "<a style='text-decoration:none' href='threads_kernel_abstract.h.html'>threads_kernel_abstract.h</a>" <font color='#0000FF'>namespace</font> dlib <b>{</b> <font color='#009900'>// ---------------------------------------------------------------------------------------- </font> <font color='#0000FF'>template</font> <font color='#5555FF'><</font> <font color='#0000FF'>typename</font> T, <font color='#0000FF'><u>void</u></font> <font face='Lucida Console'>(</font>T::<font color='#5555FF'>*</font>funct<font face='Lucida Console'>)</font><font face='Lucida Console'>(</font><font face='Lucida Console'>)</font> <font color='#5555FF'>></font> <font color='#0000FF'><u>bool</u></font> <b><a name='create_new_thread'></a>create_new_thread</b> <font face='Lucida Console'>(</font> T<font color='#5555FF'>&</font> obj <font face='Lucida Console'>)</font>; <font color='#009900'>/*! ensures - creates a new thread and calls obj.*funct() from it. - returns true upon success and false upon failure to create the new thread. !*/</font> <font color='#009900'>// ---------------------------------------------------------------------------------------- </font> <b>}</b> <font color='#0000FF'>#endif</font> <font color='#009900'>// DLIB_CREATE_NEW_THREAD_EXTENSIOn_ABSTRACT_ </font> </pre></body></html>
Version data entries
13 entries across 13 versions & 1 rubygems