$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] Beginner needs help with Boost thread class
From: Igor R (boost.lists_at_[hidden])
Date: 2010-10-19 11:24:58
> I am completely new to Boost and I would like to know in which method to put
> the business logic (work) of my thread class (which inherits from
> boost::thread). When you do that in Java you implement Runnable and put the
> business logic in the run() method. How do I do that with boost?
Look into the documentaiton:
http://www.boost.org/doc/libs/1_44_0/doc/html/thread/thread_management.html
You do not inhertit from boost::thread, you pass your thread function
to thread's constructor.