Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dCache
cta
Commits
1ba2b410
Commit
1ba2b410
authored
Apr 22, 2014
by
David COME
Browse files
Added some comments to DiskWriteThreadPool
parent
8506e55b
Changes
1
Hide whitespace changes
Inline
Side-by-side
castor/tape/tapeserver/daemon/DiskWriteThreadPool.hpp
View file @
1ba2b410
...
...
@@ -58,7 +58,8 @@ private:
bool
crossingDownFileThreshod
(
int
filesPopped
)
const
;
/**
* Pop a task frem m_tasks , if
* Pop a task from m_tasks.
* TODO The loopBack part (AndRequestMoreJob) should move to TapeReadSingleSthread
* @return
*/
DiskWriteTaskInterface
*
popAndRequestMoreJobs
()
;
...
...
@@ -77,7 +78,11 @@ private:
private:
//counter to generate threadID and to know how many thread are still doing something
static
tape
::
threading
::
AtomicCounter
<
int
>
m_nbActiveThread
;
//counter to know how many files failed at writing among the different threads
//and choose the right endOfsession to call (with error or not))
static
tape
::
threading
::
AtomicCounter
<
int
>
failledWritting
;
const
int
threadID
;
DiskWriteThreadPool
&
_this
;
castor
::
log
::
LogContext
lc
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment