Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
FORMUS3IC_LAS3
/
embb
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
918f6598
authored
9 years ago
by
lucapegolotti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test if Jenkins build fails with non linearizable datastructure
parent
66f24eff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
linearizability_tester/lt.cc
+1
-1
No files found.
linearizability_tester/lt.cc
View file @
918f6598
...
@@ -5117,7 +5117,7 @@ static void embb_experiment_queue(bool is_linearizable)
...
@@ -5117,7 +5117,7 @@ static void embb_experiment_queue(bool is_linearizable)
ConcurrentLog
<
state
::
Queue
<
N
>>
concurrent_log
{
2U
*
log_size
};
ConcurrentLog
<
state
::
Queue
<
N
>>
concurrent_log
{
2U
*
log_size
};
S
concurrent_queue
(
N
);
S
concurrent_queue
(
N
);
if
(
!
is_linearizable
)
if
(
is_linearizable
)
{
{
bool
ok
=
concurrent_queue
.
TryEnqueue
(
5
);
bool
ok
=
concurrent_queue
.
TryEnqueue
(
5
);
assert
(
ok
);
assert
(
ok
);
...
...
This diff is collapsed.
Click to expand it.
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