Replaced usleep with semaphore for current_sfn_sf

This commit is contained in:
RS
2020-07-10 15:05:02 -07:00
parent 9a8880fd39
commit 7b387999b3
4 changed files with 23 additions and 1 deletions
+3
View File
@@ -14,6 +14,7 @@
#include "nfapi_interface.h"
#include "nfapi_pnf_interface.h"
#include <pthread.h>
#include <semaphore.h>
#include "nfapi/oai_integration/vendor_ext.h"
//#include "openair1/PHY/LTE_TRANSPORT/defs.h"
//#include "openair1/PHY/defs.h"
@@ -156,4 +157,6 @@ extern nfapi_hi_dci0_request_t* hi_dci0_req;
extern int current_sfn_sf;
extern sem_t sfn_semaphore;
#endif /* PHY_STUB_UE_H_ */