Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-RAN
Commits
fafed7d1
Commit
fafed7d1
authored
Jun 30, 2022
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused restrictRNTI variable in Tpool
parent
31dcdf21
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
6 deletions
+0
-6
common/utils/threadPool/thread-pool.c
common/utils/threadPool/thread-pool.c
+0
-5
common/utils/threadPool/thread-pool.h
common/utils/threadPool/thread-pool.h
+0
-1
No files found.
common/utils/threadPool/thread-pool.c
View file @
fafed7d1
...
@@ -123,7 +123,6 @@ void initNamedTpool(char *params,tpool_t *pool, bool performanceMeas, char *name
...
@@ -123,7 +123,6 @@ void initNamedTpool(char *params,tpool_t *pool, bool performanceMeas, char *name
char
*
saveptr
,
*
curptr
;
char
*
saveptr
,
*
curptr
;
char
*
parms_cpy
=
strdup
(
params
);
char
*
parms_cpy
=
strdup
(
params
);
pool
->
nbThreads
=
0
;
pool
->
nbThreads
=
0
;
pool
->
restrictRNTI
=
false
;
curptr
=
strtok_r
(
parms_cpy
,
","
,
&
saveptr
);
curptr
=
strtok_r
(
parms_cpy
,
","
,
&
saveptr
);
struct
one_thread
*
ptr
;
struct
one_thread
*
ptr
;
char
*
tname
=
(
name
==
NULL
?
"Tpool"
:
name
);
char
*
tname
=
(
name
==
NULL
?
"Tpool"
:
name
);
...
@@ -131,10 +130,6 @@ void initNamedTpool(char *params,tpool_t *pool, bool performanceMeas, char *name
...
@@ -131,10 +130,6 @@ void initNamedTpool(char *params,tpool_t *pool, bool performanceMeas, char *name
int
c
=
toupper
(
curptr
[
0
]);
int
c
=
toupper
(
curptr
[
0
]);
switch
(
c
)
{
switch
(
c
)
{
case
'U'
:
pool
->
restrictRNTI
=
true
;
break
;
case
'N'
:
case
'N'
:
pool
->
activated
=
false
;
pool
->
activated
=
false
;
break
;
break
;
...
...
common/utils/threadPool/thread-pool.h
View file @
fafed7d1
...
@@ -260,7 +260,6 @@ typedef struct thread_pool {
...
@@ -260,7 +260,6 @@ typedef struct thread_pool {
uint64_t
cpuCyclesMicroSec
;
uint64_t
cpuCyclesMicroSec
;
uint64_t
startProcessingUE
;
uint64_t
startProcessingUE
;
int
nbThreads
;
int
nbThreads
;
bool
restrictRNTI
;
notifiedFIFO_t
incomingFifo
;
notifiedFIFO_t
incomingFifo
;
struct
one_thread
*
allthreads
;
struct
one_thread
*
allthreads
;
}
tpool_t
;
}
tpool_t
;
...
...
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