mirror of
https://github.com/boostorg/interprocess.git
synced 2026-01-19 04:12:13 +00:00
Fixed error when adding os_thread_func_ptr_deleter, UNIX OSs also use it.
[SVN r86777]
This commit is contained in:
@@ -510,8 +510,6 @@ class abstract_thread
|
||||
virtual void run() = 0;
|
||||
};
|
||||
|
||||
#if defined(BOOST_INTERPROCESS_WINDOWS)
|
||||
|
||||
template<class T>
|
||||
class os_thread_func_ptr_deleter
|
||||
{
|
||||
@@ -536,6 +534,8 @@ class os_thread_func_ptr_deleter
|
||||
T *m_p;
|
||||
};
|
||||
|
||||
#if defined(BOOST_INTERPROCESS_WINDOWS)
|
||||
|
||||
inline unsigned __stdcall launch_thread_routine( void * pv )
|
||||
{
|
||||
os_thread_func_ptr_deleter<abstract_thread> pt( static_cast<abstract_thread *>( pv ) );
|
||||
|
||||
Reference in New Issue
Block a user