projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't write to inferior_ptid in linux_get_siginfo_data
[deliverable/binutils-gdb.git]
/
gold
/
token.h
diff --git
a/gold/token.h
b/gold/token.h
index dcf00b66804584ed82859eaecfd978d85775d947..1957cbdb471bc1378651bd519ad89c60bf2af322 100644
(file)
--- a/
gold/token.h
+++ b/
gold/token.h
@@
-1,6
+1,6
@@
// token.h -- lock tokens for gold -*- C++ -*-
// token.h -- lock tokens for gold -*- C++ -*-
-// Copyright
2006, 2007, 2008
Free Software Foundation, Inc.
+// Copyright
(C) 2006-2020
Free Software Foundation, Inc.
// Written by Ian Lance Taylor <iant@google.com>.
// This file is part of gold.
// Written by Ian Lance Taylor <iant@google.com>.
// This file is part of gold.
@@
-144,6
+144,15
@@
class Task_token
this->writer_ = NULL;
}
this->writer_ = NULL;
}
+ // Add some number of blockers to the token.
+ void
+ add_blockers(int c)
+ {
+ gold_assert(this->is_blocker_);
+ this->blockers_ += c;
+ this->writer_ = NULL;
+ }
+
// Remove a blocker from the token. Returns true if block count
// drops to zero.
bool
// Remove a blocker from the token. Returns true if block count
// drops to zero.
bool
This page took
0.026199 seconds
and
4
git commands to generate.