Opened 14 years ago

Closed 14 years ago

#2118 closed Feature Requests (fixed)

Clarification of at_thread_exit with respect to interruption

Reported by: Charles Brockman <cmbrockman@…> Owned by: Anthony Williams
Milestone: Boost 1.36.0 Component: thread
Version: Boost Development Trunk Severity: Optimization
Keywords: Cc:

Description

A. The documentation for at_thread_exit() and in the Interruption section of Thread Management should be amended. If a thread is interrupted and the exception is not caught, the thread will terminate. In that case is the function specified in at_thread_exit(), if any, called?

B. It would be beneficial to add an example of the use of at_thread_exit() in one of the programs in the \libs\thread\example subdirectory.

C. In the Effects section of the documentation for at_thread_exit(), the sentence
A copy of func is taken and stored to in thread-specific storage.
should probably be
A copy of func is taken and stored in thread-specific storage.
or simply
A copy of func is placed in thread-specific storage.

Change History (2)

comment:1 by Anthony Williams, 14 years ago

Status: newassigned

Documentation updated on trunk.

comment:2 by Anthony Williams, 14 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.