Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
47
Issues
47
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
PPSi
Commits
a53f3545
Commit
a53f3545
authored
Apr 15, 2016
by
Adam Wujek
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wr-servo: add shmem locks into wr_servo_reset function
Signed-off-by:
Adam Wujek
<
adam.wujek@cern.ch
>
parent
d5fa46ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
wr-servo.c
proto-ext-whiterabbit/wr-servo.c
+4
-0
No files found.
proto-ext-whiterabbit/wr-servo.c
View file @
a53f3545
...
...
@@ -143,7 +143,11 @@ static int got_sync = 0;
void
wr_servo_reset
(
struct
pp_instance
*
ppi
)
{
/* shmem lock */
wrs_shm_write
(
ppsi_head
,
WRS_SHM_WRITE_BEGIN
);
ppi
->
flags
=
0
;
/* shmem unlock */
wrs_shm_write
(
ppsi_head
,
WRS_SHM_WRITE_END
);
}
static
inline
int32_t
delta_to_ps
(
struct
FixedDelta
d
)
...
...
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