Modify

Opened 4 years ago

Closed 4 years ago

#8451 closed Bugs (fixed)

missing documented function 'boost::scoped_thread::joinable'

Reported by: record.nctu.cis91@… Owned by: viboes
Milestone: Boost 1.54.0 Component: thread
Version: Boost 1.53.0 Severity: Problem
Keywords: thread scoped_thread joinable Cc:

Description

I've found there is documented function: boost::scoped_thread::joinable.
But there is no such declaration/definition in the source (boost/thread/scoped_thread.hpp).

So the following code will produce compilation error saying 'joinable' is not a member of 'boost::scoped_thread<>'

#include <iostream>
#include <iomanip>

#include <boost/thread/scoped_thread.hpp>

int main() {
    boost::scoped_thread<> foo;

    std::cout << std::boolalpha << foo.joinable() << std::endl;

    return 0;
}

Attachments (1)

patchfile.patch (387 bytes) - added by record.nctu.cis91@… 4 years ago.
add-joinable-definition-in-scoped-thread

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by record.nctu.cis91@…

Attachment: patchfile.patch added

add-joinable-definition-in-scoped-thread

comment:1 Changed 4 years ago by viboes

Owner: changed from Anthony Williams to viboes
Status: newassigned

You are right. I will add it soon.

comment:2 Changed 4 years ago by viboes

Milestone: To Be DeterminedBoost 1.54.0

Committed revision [83949].

comment:3 Changed 4 years ago by viboes

Resolution: fixed
Status: assignedclosed

(In [83995]) Thread fix #8451.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain viboes.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.