mirror of
https://dev.iopsys.eu/bbf/icwmp.git
synced 2026-03-10 19:27:32 +01:00
update
This commit is contained in:
parent
3b0ccba703
commit
a28ffb1b34
1 changed files with 4 additions and 0 deletions
4
cwmp.c
4
cwmp.c
|
|
@ -579,11 +579,13 @@ int main(int argc, char **argv)
|
|||
{
|
||||
CWMP_LOG(ERROR,"Error when creating the http connection request server thread!");
|
||||
}
|
||||
#if 0
|
||||
error = pthread_create(&ubus_thread, NULL, &thread_uloop_run, NULL);
|
||||
if (error<0)
|
||||
{
|
||||
CWMP_LOG(ERROR,"Error when creating the ubus thread!");
|
||||
}
|
||||
#endif
|
||||
error = pthread_create(&periodic_event_thread, NULL, &thread_event_periodic, (void *)cwmp);
|
||||
if (error<0)
|
||||
{
|
||||
|
|
@ -601,7 +603,9 @@ int main(int argc, char **argv)
|
|||
}
|
||||
|
||||
cwmp_schedule_session(cwmp);
|
||||
#if 0
|
||||
pthread_join(ubus_thread, NULL);
|
||||
#endif
|
||||
pthread_join(periodic_event_thread, NULL);
|
||||
pthread_join(scheduleInform_thread, NULL);
|
||||
pthread_join(download_thread, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue