Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
hpdos
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
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SYNERG
hpdos
Commits
71c35087
Commit
71c35087
authored
May 24, 2022
by
Paras Garg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added code for follower
parent
184a3b67
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
code/cppfol/src/TaskThread.cpp
code/cppfol/src/TaskThread.cpp
+3
-2
No files found.
code/cppfol/src/TaskThread.cpp
View file @
71c35087
...
...
@@ -52,11 +52,11 @@ inline void *TaskThread::run(void *object)
while
(
!
thread
->
_stop
)
{
struct
ibv_wc
*
data
=
NULL
;
std
::
cout
<<
"Get start
\n
"
;
//
std::cout << "Get start\n";
data
=
thread
->
_taskQueue
->
try_pop
();
if
(
data
!=
NULL
)
{
std
::
cout
<<
"TaskThread:: got data"
;
//
std::cout << "TaskThread:: got data";
if
(
data
==
NULL
||
data
->
status
!=
IBV_WC_SUCCESS
)
{
std
::
ostringstream
ss
;
...
...
@@ -152,6 +152,7 @@ void TaskThread::processEvent(RdmaSalEndpoint *ep, struct ibv_wc *data)
void
TaskThread
::
processRepEvent
(
RdmaRepEndpoint
*
ep
,
struct
ibv_wc
*
data
)
{
std
::
cout
<<
"processing rep event
\n
"
;
switch
(
data
->
opcode
)
{
case
IBV_WC_SEND
:
...
...
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