Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ipc
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue 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
Scott Snyder
ipc
Commits
8f820050
Commit
8f820050
authored
1 year ago
by
Serguei Kolos
Browse files
Options
Downloads
Patches
Plain Diff
Simplify usage of ipc/partition interface
parent
ebc10954
No related branches found
Branches containing commit
Tags
ipc-05-14-19
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
proxy/service_main.cc
+8
-2
8 additions, 2 deletions
proxy/service_main.cc
with
8 additions
and
2 deletions
proxy/service_main.cc
+
8
−
2
View file @
8f820050
...
...
@@ -86,6 +86,12 @@ int main(int ac, char **av) {
if
(
interface_id
==
c_interface_default_value
)
{
interface_id
=
"IDL:"
+
type_name
+
":1.0"
;
}
if
(
type_name
==
"ipc/partition"
)
{
// Partitions are registered in the IPC server in a special way,
// they are bound to the root naming context
type_name
=
""
;
}
}
catch
(
std
::
exception
&
e
)
{
std
::
cerr
<<
"Error: "
<<
e
.
what
()
<<
"
\n
"
;
...
...
@@ -128,8 +134,8 @@ int main(int ac, char **av) {
ipc
::
util
::
bind
(
partition
.
name
(),
proxy_name
,
type_name
,
proxy
);
ERS_LOG
(
"The '"
<<
proxy_name
<<
"' proxy
of
the '"
<<
type_name
<<
"'
typ
e has been started for the '"
<<
server_name
ERS_LOG
(
"The '"
<<
proxy_name
<<
"' proxy
supporting
the '"
<<
interface_id
<<
"'
interfac
e has been started for the '"
<<
server_name
<<
"' server in '"
<<
partition
.
name
()
<<
"' partition"
);
daq
::
ipc
::
signal
::
wait_for
();
...
...
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