调用destroy函数时延迟5s退出
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
#include <MESA/http.h>
|
#include <MESA/http.h>
|
||||||
#include <MESA/ftp.h>
|
#include <MESA/ftp.h>
|
||||||
@@ -507,6 +508,7 @@ extern "C" int TSG_MASTER_INIT()
|
|||||||
|
|
||||||
extern "C" int TSG_MASTER_UNLOAD()
|
extern "C" int TSG_MASTER_UNLOAD()
|
||||||
{
|
{
|
||||||
|
sleep(5);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user