X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gold%2Fworkqueue-internal.h;h=25e4aba929151fd1ff97756b5dbe4c9b4a32c788;hb=3af96c0d99dedab49d2b82b730c74c27ce99bba4;hp=684c65ba071c2866bb69c9cf213b550aaf8bc0d1;hpb=ebdbb4583d9b05504b1ca7e4f6c370f5d355e9bd;p=deliverable%2Fbinutils-gdb.git diff --git a/gold/workqueue-internal.h b/gold/workqueue-internal.h index 684c65ba07..25e4aba929 100644 --- a/gold/workqueue-internal.h +++ b/gold/workqueue-internal.h @@ -1,6 +1,6 @@ // workqueue-internal.h -- internal work queue header for gold -*- C++ -*- -// Copyright 2006, 2007, 2008 Free Software Foundation, Inc. +// Copyright (C) 2006-2020 Free Software Foundation, Inc. // Written by Ian Lance Taylor . // This file is part of gold. @@ -56,7 +56,7 @@ class Workqueue_threader // Return whether to cancel the current thread. virtual bool - should_cancel_thread() = 0; + should_cancel_thread(int thread_number) = 0; protected: // Get the Workqueue. @@ -84,7 +84,7 @@ class Workqueue_threader_threadpool : public Workqueue_threader // Return whether to cancel a thread. bool - should_cancel_thread(); + should_cancel_thread(int thread_number); // Process all tasks. This keeps running until told to cancel. void