输出非结构化日志。
This commit is contained in:
@@ -144,6 +144,10 @@ static void __promise_destroy(struct promise *p)
|
||||
|
||||
struct promise * future_to_promise(struct future * f)
|
||||
{
|
||||
if(f==NULL)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
struct promise *p=__future_to_promise(f);
|
||||
p->ref_cnt++;
|
||||
assert(p->ref_cnt==2);
|
||||
|
||||
Reference in New Issue
Block a user