Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena_MET
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alberto Plebani
athena_MET
Commits
a4d5af77
Commit
a4d5af77
authored
2 years ago
by
Frank Winklmeier
Browse files
Options
Downloads
Patches
Plain Diff
ByteStreamStoragePlugins: thread-checker fixes for fReadDavix
Mark the POSIX API as thread-safe (confirmed by Davix documentation).
parent
ba9a1ddf
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Event/ByteStreamStoragePlugins/CMakeLists.txt
+2
-2
2 additions, 2 deletions
Event/ByteStreamStoragePlugins/CMakeLists.txt
Event/ByteStreamStoragePlugins/src/fReadDavix.h
+3
-2
3 additions, 2 deletions
Event/ByteStreamStoragePlugins/src/fReadDavix.h
with
5 additions
and
4 deletions
Event/ByteStreamStoragePlugins/CMakeLists.txt
+
2
−
2
View file @
a4d5af77
# Copyright (C) 2002-202
0
CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-202
2
CERN for the benefit of the ATLAS collaboration
# Declare the package name:
atlas_subdir
(
ByteStreamStoragePlugins
)
...
...
@@ -29,4 +29,4 @@ atlas_add_library( fReadDavix
PRIVATE_INCLUDE_DIRS
${
TDAQ-COMMON_INCLUDE_DIRS
}
${
DAVIX_INCLUDE_DIRS
}
${
Boost_INCLUDE_DIRS
}
PRIVATE_LINK_LIBRARIES
${
TDAQ-COMMON_LIBRARIES
}
${
DAVIX_LIBRARIES
}
${
Boost_LIBRARIES
}
)
${
Boost_LIBRARIES
}
CxxUtils
)
This diff is collapsed.
Click to expand it.
Event/ByteStreamStoragePlugins/src/fReadDavix.h
+
3
−
2
View file @
a4d5af77
/*
Copyright (C) 2002-20
17
CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-20
22
CERN for the benefit of the ATLAS collaboration
*/
#ifndef FREADDAVIX_H
#define FREADDAVIX_H
#include
"CxxUtils/checker_macros.h"
#include
"EventStorage/fRead.h"
#include
"davix.hpp"
...
...
@@ -31,7 +32,7 @@ class fReadDavix : public fRead
Davix
::
Context
m_c
;
Davix
::
RequestParams
*
m_davixParam
;
Davix
::
DavixError
*
m_err
;
Davix
::
DavPosix
*
m_pos
;
Davix
::
DavPosix
*
m_pos
ATLAS_THREAD_SAFE
;
// Davix documentation says this is thread-safe
Davix
::
X509Credential
*
m_cert
;
DAVIX_FD
*
m_fd
;
// davix pointer to current file
...
...
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