Opened 10 years ago

Closed 10 years ago

#7588 closed Tasks (fixed)

Split the locks.hpp in several files to limit depedencies

Reported by: viboes Owned by: viboes
Milestone: Boost 1.53.0 Component: thread
Version: Boost 1.52.0 Severity: Optimization
Keywords: Cc:

Description (last modified by viboes)

The locks.hpp file could be separated in:

  • lock_option.hpp constains adopt_lock_t, ...
  • lock_guard.hpp constains lock_guard, ...
  • lockable_traits.hpp contains is_mutex_type
  • lock_types.hpp contains unique_lock, ...
  • lock_algorithm.hpp constains lock, try_lock, ... functions

This help to limit the dependencies.

Change History (7)

comment:1 by viboes, 10 years ago

Description: modified (diff)
Status: newassigned

comment:2 by viboes, 10 years ago

Description: modified (diff)

comment:3 by viboes, 10 years ago

Committed revision [81082]. Yet missing the real split

#include <boost/thread/lock_algorithms.hpp>
#include <boost/thread/lock_types.hpp>
#include <boost/thread/lock_guard.hpp>
#include <boost/thread/lockable_traits.hpp>
#include <boost/thread/lock_options.hpp>

to be checked on windows before committing.

comment:4 by viboes, 10 years ago

Milestone: To Be Determined

comment:5 by viboes, 10 years ago

Committed in trunk [81105][81106].

comment:6 by viboes, 10 years ago

Milestone: Boost 1.53.0

comment:7 by viboes, 10 years ago

Resolution: fixed
Status: assignedclosed

Committed revision [81667].

Note: See TracTickets for help on using tickets.