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
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
canghaiwuhen
OpenXG-RAN
Commits
83f6a835
Commit
83f6a835
authored
Nov 20, 2013
by
Huang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@4443
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
6975baad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
targets/RTAI/USER/lte-softmodem-usrp.c
targets/RTAI/USER/lte-softmodem-usrp.c
+4
-5
No files found.
targets/RTAI/USER/lte-softmodem-usrp.c
View file @
83f6a835
...
...
@@ -325,8 +325,7 @@ void *usrp_thread(void *ptr)
}
send_end
();
printf
(
"[rcv thread] Received oai_exit signal. Ends. send slot missed: %d
\n
"
,
send_slot_missed
);
printf
(
"hw_frm_head_pos = %d
\n
"
,
hw_frm_head_pos
);
//test hw_frm_head_pos value
printf
(
"[USRP thread] Received oai_exit signal. Ends. send slot missed: %d
\n
"
,
send_slot_missed
);
pthread_exit
(
NULL
);
}
...
...
@@ -504,7 +503,6 @@ static void *eNB_thread(void *arg)
#ifdef RTAI
rt_task_delete
(
task
);
#endif
rt_printk
(
"Task deleted. returning
\n
"
);
return
0
;
}
...
...
@@ -1232,8 +1230,8 @@ int main(int argc, char **argv)
printf
(
"TYPE <CTRL-C> TO TERMINATE
\n
"
);
signal
(
SIGINT
,
&
sig_int_handler
);
getchar
();
oai_exit
=
1
;
while
(
oai_exit
==
0
)
sleep
(
1
)
;
// cleanup
pthread_join
(
thread_tx_error
,
&
status
);
...
...
@@ -1254,6 +1252,7 @@ int main(int argc, char **argv)
}
else
{
#ifdef RTAI
printf
(
"Cleanup eNB thread and usrp thread
\n
"
);
rt_thread_join
(
thread0
);
rt_thread_join
(
thread_recv
);
#else
...
...
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