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
c1bb107a
authored
10 years ago
by
Marcus Winter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mtapi_network_c: removed gcc compiler warning
parent
2de5f579
global_scheduling
…
development
embb-0.3
embb269-performance_test
embb327_llx_scx
embb334_lockfree_tree
embb375_dataflow_priorities_and_affinities
embb413_network_plugin_improvements
embb428_cuda_plugin
embb434_waitfree_queue
embb440-external_project_cmake
embb453_rwlock
embb454_document_install_config
embb456_zip_release_files
embb458_mtapi_initialization
embb499_blocking_data_structures
embb513-vmware_affinity
embb516_thread_sanitizer
embb516_threadsanitizer
embb517_mutex_based_atomics
embb530_linearizability_tester
embb533_worker_thread_os_priorities
embb546_low_performance_on_arm
embb555_blocking_queue
embb556_blocking_stack
embb561_solving_warnings
embb562_install_pdb_files
embb566_blocking_set
embb567_documentation_condition_variable
embb570_blocking_priority_queue
embb571_blocking_map
embb580_extend_changelog
embb581_mtapi_task_wait_timing_fix
embb582_contributing_readme_file
embb603_outdated_headers
embb607_error_with_include_file
embb609_doxygen_warnings
embb_520_prepare_valuepool_for_herlihy_object_pool
embb_525_fix_pool_init_bug
master
v0.4.0
v0.3.2
v0.3.1
v0.3.0
chromatic_tree_master_thesis
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
mtapi_network_c/src/embb_mtapi_network.c
+4
-2
No files found.
mtapi_network_c/src/embb_mtapi_network.c
View file @
c1bb107a
...
...
@@ -228,7 +228,6 @@ static int embb_mtapi_network_thread(void * args) {
int32_t
arguments_size
;
int32_t
priority
;
mtapi_job_hndl_t
job_hndl
;
mtapi_task_hndl_t
task_hndl
;
mtapi_task_attributes_t
task_attr
;
void
*
arguments
;
mtapi_task_complete_function_t
func
=
embb_mtapi_network_task_complete
;
...
...
@@ -285,6 +284,9 @@ static int embb_mtapi_network_thread(void * args) {
mtapi_taskattr_init
(
&
task_attr
,
&
local_status
);
mtapi_taskattr_set
(
&
task_attr
,
MTAPI_TASK_USER_DATA
,
(
void
*
)
network_task
,
0
,
&
local_status
);
mtapi_boolean_t
task_detached
=
MTAPI_TRUE
;
mtapi_taskattr_set
(
&
task_attr
,
MTAPI_TASK_DETACHED
,
(
void
*
)
&
task_detached
,
sizeof
(
mtapi_boolean_t
),
&
local_status
);
mtapi_taskattr_set
(
&
task_attr
,
MTAPI_TASK_PRIORITY
,
(
void
*
)
priority
,
0
,
&
local_status
);
assert
(
local_status
==
MTAPI_SUCCESS
);
...
...
@@ -294,7 +296,7 @@ static int embb_mtapi_network_thread(void * args) {
assert
(
local_status
==
MTAPI_SUCCESS
);
job_hndl
=
mtapi_job_get
(
job_id
,
domain_id
,
&
local_status
);
assert
(
local_status
==
MTAPI_SUCCESS
);
task_hndl
=
mtapi_task_start
(
mtapi_task_start
(
MTAPI_TASK_ID_NONE
,
job_hndl
,
arguments
,
arguments_size
,
results
,
results_size
,
...
...
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