Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
Root
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
为了安全,强烈建议开启2FA双因子认证:User Settings -> Account -> Enable two-factor authentication!!!
Show more breadcrumbs
cxwx
Root
Commits
ffc8847d
Unverified
Commit
ffc8847d
authored
6 years ago
by
Guilherme Amadio
Browse files
Options
Downloads
Patches
Plain Diff
Add back brackets to comments as they are used by doxygen
parent
8e4d8588
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
io/io/inc/ROOT/TBufferMerger.hxx
+9
-9
9 additions, 9 deletions
io/io/inc/ROOT/TBufferMerger.hxx
with
9 additions
and
9 deletions
io/io/inc/ROOT/TBufferMerger.hxx
+
9
−
9
View file @
ffc8847d
...
@@ -110,15 +110,15 @@ private:
...
@@ -110,15 +110,15 @@ private:
void
Push
(
TBufferFile
*
buffer
);
void
Push
(
TBufferFile
*
buffer
);
void
WriteOutputFile
();
void
WriteOutputFile
();
size_t
fAutoSave
{
0
};
// AutoSave only every fAutoSave bytes
size_t
fAutoSave
{
0
};
//
<
AutoSave only every fAutoSave bytes
size_t
fBuffered
{
0
};
// Number of bytes currently buffered
size_t
fBuffered
{
0
};
//
<
Number of bytes currently buffered
TFileMerger
fMerger
{
false
,
false
};
// TFileMerger used to merge all buffers
TFileMerger
fMerger
{
false
,
false
};
//
<
TFileMerger used to merge all buffers
std
::
mutex
fQueueMutex
;
// Mutex used to lock fQueue
std
::
mutex
fQueueMutex
;
//
<
Mutex used to lock fQueue
std
::
condition_variable
fDataAvailable
;
// Condition variable used to wait for data
std
::
condition_variable
fDataAvailable
;
//
<
Condition variable used to wait for data
std
::
queue
<
TBufferFile
*>
fQueue
;
// Queue to which data is pushed and merged
std
::
queue
<
TBufferFile
*>
fQueue
;
//
<
Queue to which data is pushed and merged
std
::
unique_ptr
<
std
::
thread
>
fMergingThread
;
// Worker thread that writes to disk
std
::
unique_ptr
<
std
::
thread
>
fMergingThread
;
//
<
Worker thread that writes to disk
std
::
vector
<
std
::
weak_ptr
<
TBufferMergerFile
>>
fAttachedFiles
;
// Attached files
std
::
vector
<
std
::
weak_ptr
<
TBufferMergerFile
>>
fAttachedFiles
;
//
<
Attached files
std
::
function
<
void
(
void
)
>
fCallback
;
// Callback for when data is removed from queue
std
::
function
<
void
(
void
)
>
fCallback
;
//
<
Callback for when data is removed from queue
};
};
/**
/**
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment