跳到主要内容

health.check_coroutine

声明

public void check_coroutine()

参数

参数名描述

作用

检测当前协程状态及其调用栈

使用方式

HealthD.gs

import gs.lang.*;
import gs.util.*;
import pkg.gtest;

import pkg.health;

void create()
{
load_static(health, this_domain());
}

void destruct()
{
health.end();
}

public mixed check_coroutine()
{
health.check_coroutine();
return "success";
}

返回文档