Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
4586e948
Commit
4586e948
authored
Feb 21, 2022
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename SEC discarded to disposed
parent
b6d1f482
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
libcaf_core/caf/async/spsc_buffer.hpp
libcaf_core/caf/async/spsc_buffer.hpp
+0
-1
libcaf_core/caf/flow/single.hpp
libcaf_core/caf/flow/single.hpp
+1
-1
libcaf_core/caf/sec.hpp
libcaf_core/caf/sec.hpp
+5
-3
No files found.
libcaf_core/caf/async/spsc_buffer.hpp
View file @
4586e948
...
...
@@ -439,7 +439,6 @@ public:
return
*
this
;
}
/// Tries to open the resource for writing to the buffer. The first `open`
/// wins on concurrent access.
/// @returns a pointer to the buffer on success, `nullptr` otherwise.
...
...
libcaf_core/caf/flow/single.hpp
View file @
4586e948
...
...
@@ -78,7 +78,7 @@ public:
void
dispose
()
override
{
if
(
!
std
::
holds_alternative
<
error
>
(
value_
))
set_error
(
make_error
(
sec
::
dis
card
ed
));
set_error
(
make_error
(
sec
::
dis
pos
ed
));
}
bool
disposed
()
const
noexcept
override
{
...
...
libcaf_core/caf/sec.hpp
View file @
4586e948
...
...
@@ -168,9 +168,11 @@ enum class sec : uint8_t {
action_reschedule_failed
,
/// Attaching to an observable failed because the target is invalid.
invalid_observable
,
/// Signals to a component that is has been discarded by its parent or the
/// consumer/producer that was attached to the component.
discarded
=
70
,
/// Attaching to an observable failed because the target already reached its
/// maximum observer count.
too_many_observers
=
70
,
/// Signals that an operation failed because the target has been disposed.
disposed
,
/// Failed to open a resource.
cannot_open_resource
,
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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