Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
UERANSIM
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
UERANSIM
Commits
3ad54047
Commit
3ad54047
authored
May 17, 2021
by
aligungr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RRC developments
parent
32b69e8d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
src/ue/rrc/task.hpp
src/ue/rrc/task.hpp
+3
-3
src/utils/locked.hpp
src/utils/locked.hpp
+5
-1
No files found.
src/ue/rrc/task.hpp
View file @
3ad54047
...
...
@@ -90,9 +90,9 @@ class UeRrcTask : public NtsTask
void
sendRrcMessage
(
ASN_RRC_UL_DCCH_Message
*
msg
);
void
receiveRrcMessage
(
int
cellId
,
ASN_RRC_BCCH_BCH_Message
*
msg
);
void
receiveRrcMessage
(
int
cellId
,
ASN_RRC_BCCH_DL_SCH_Message
*
msg
);
void
receiveRrcMessage
(
int
cellId
,
ASN_RRC_DL_CCCH_Message
*
msg
);
void
receiveRrcMessage
(
int
cellId
,
ASN_RRC_DL_DCCH_Message
*
msg
);
void
receiveRrcMessage
(
int
cellId
,
ASN_RRC_PCCH_Message
*
msg
);
void
receiveRrcMessage
(
int
cellId
,
ASN_RRC_DL_CCCH_Message
*
msg
);
// TODO
void
receiveRrcMessage
(
int
cellId
,
ASN_RRC_DL_DCCH_Message
*
msg
);
// ..
void
receiveRrcMessage
(
int
cellId
,
ASN_RRC_PCCH_Message
*
msg
);
// Broadcast vs için camped olmayanları ignore
/* Service Access Point */
void
handleRlsSapMessage
(
NwUeRlsToRrc
&
msg
);
...
...
src/utils/locked.hpp
View file @
3ad54047
...
...
@@ -36,12 +36,16 @@ class Locked
inline
void
access
(
Func
&&
fun
)
{
// Şimdilik access ve mutate aynı, optimizasyon adına read-write lock kullanılabilir
mutate
(
fun
);
std
::
lock_guard
lk
(
m_mutex
);
fun
((
const
T
&
)
m_value
);
}
template
<
typename
Func
>
inline
void
mutate
(
Func
&&
fun
)
{
// Şimdilik access ve mutate aynı, optimizasyon adına read-write lock kullanılabilir
std
::
lock_guard
lk
(
m_mutex
);
fun
(
m_value
);
}
...
...
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