mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-02 11:57:43 +08:00
test fiber_cond
This commit is contained in:
parent
19f19ad7c0
commit
d0cf77f92c
@ -25,7 +25,7 @@ static void fiber_producer(ACL_FIBER *fiber acl_unused, void *ctx acl_unused)
|
||||
acl_fiber_cond_signal(__cond);
|
||||
if (++n % 2000000 == 0) {
|
||||
printf("--signal = %d\n", n);
|
||||
sleep(1);
|
||||
//sleep(1);
|
||||
}
|
||||
//acl_fiber_delay(1000);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user