Skip to content

Commit d2910b0

Browse files
derekmaurocopybara-github
authored andcommitted
Prepare to move callers away from get_bound_schedulable()
to remove the forward declaration of base::scheduling::Schedulable. PiperOrigin-RevId: 890987711 Change-Id: I42695f6f9b7e60627e65b00e9269cf53f497f988
1 parent 0093ac6 commit d2910b0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

absl/base/internal/thread_identity.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
#include "absl/base/optimization.h"
3636

3737
// Forward declare Gloop class for scheduling.
38+
// TODO: b/495759467 - Remove this forward declaration.
3839
namespace base {
3940
namespace scheduling {
4041
class Schedulable;
@@ -172,6 +173,7 @@ struct ThreadIdentity {
172173
return reinterpret_cast<SpinLock*>(&association_lock_word);
173174
}
174175

176+
// TODO: b/495759467 - Migrate all callers.
175177
inline base::scheduling::Schedulable* get_bound_schedulable() const {
176178
return bound_schedulable.load(std::memory_order_relaxed);
177179
}

0 commit comments

Comments
 (0)