Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get pcid by a random cid #2669

Merged
merged 8 commits into from
Jul 10, 2019
Merged

get pcid by a random cid #2669

merged 8 commits into from
Jul 10, 2019

Conversation

huanghantao
Copy link
Member

swoole_coroutine.h Outdated Show resolved Hide resolved
swoole_coroutine.h Outdated Show resolved Hide resolved
swoole_coroutine.h Outdated Show resolved Hide resolved
swoole_coroutine.cc Show resolved Hide resolved
swoole_coroutine.h Outdated Show resolved Hide resolved
Copy link
Member

@twose twose left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PHP_ME(swoole_coroutine, getPcid, arginfo_swoole_coroutine_void, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC)

arginfo_swoole_coroutine_getPcid

@huanghantao
Copy link
Member Author

PHP_ME(swoole_coroutine, getPcid, arginfo_swoole_coroutine_void, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC)

arginfo_swoole_coroutine_getPcid

忘记修改参数了,编译的时候竟然没有报错。估计和这个参数是可选的有关?

@twose
Copy link
Member

twose commented Jul 10, 2019

PHP_ME(swoole_coroutine, getPcid, arginfo_swoole_coroutine_void, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC)

arginfo_swoole_coroutine_getPcid

忘记修改参数了,编译的时候竟然没有报错。估计和这个参数是可选的有关?

arginfo是static的, 如果没有用到会有unused警告, 和编译器及其错误级别有关

swoole_coroutine.h Outdated Show resolved Hide resolved
swoole_coroutine.h Outdated Show resolved Hide resolved
@twose twose merged commit 7cf6438 into swoole:master Jul 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants