-
Notifications
You must be signed in to change notification settings - Fork 55
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
INTERNAL: Remove the check for clock_gettime function #789
Conversation
configure.ac
Outdated
@@ -23,8 +23,10 @@ dnl if clock_gettime is available, define USE_CLOCK_GETTIME 1 | |||
dnl else define USE_GETTIMEOFDAY 1 | |||
dnl ********************************************************************** | |||
AC_CHECK_LIB(rt, clock_gettime, | |||
CLOCK_GETTIME_LIBS="-lrt" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AC_CHECK_LIB ($LIB, $FUNC, [$ACTION1], [$ACTION2])
$LIB์์ $FUNC๋ผ๋ ํจ์๊ฐ ์กด์ฌํ๋์ง ํ์ธํ๋ ๋งคํฌ๋ก์ ๋๋ค.
- ๋ง์ฝ ํจ์๊ฐ ์กด์ฌํ๋ฉด $ACTION1์ ์ํํ๊ณ , ์กด์ฌํ์ง ์์ผ๋ฉด $ACTION2๋ฅผ ์ํํฉ๋๋ค.
ํ์ฌ PR์์ $ACTION1์ ํด๋นํ๋ ์ฝ๋๋ ๋ค์๊ณผ ๊ฐ์ต๋๋ค:
CLOCK_GETTIME_LIBS="-lrt"
AC_DEFINE(USE_CLOCK_GETTIME, 1, [Defined if clock_gettime is available in libc])
์ด ์ฝ๋๋ CLOCK_GETTIME_LIBS ๋ณ์์ "-lrt" ๋ฌธ์์ด์ ์ ์ฅํ๊ณ ,
USE_CLOCK_GETTIME์ด๋ผ๋ ์ ์ฒ๋ฆฌ๊ธฐ๋ฅผ config.h์ ์ ์ํฉ๋๋ค.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
๊ถ๊ธํ ์ ์ด ์์ต๋๋ค.
EE ์๋ฒ ์ฝ๋๋ฅผ ๋ณด๋ฉด clock_gettime() ํจ์๋ฅผ ์ฌ์ฉํ๋ ๊ณณ์ด ์์ต๋๋ค.
๊ธฐ์กด์ --enable-zk-integration
์์ด ์ปดํ์ผํ ๊ฒฝ์ฐ์ ํด๋น ์ฝ๋๋ค์ด ์ ์ ๋์ํ๋์?
ํน์ ZK๊ฐ ์์ผ๋ฉด ์คํ๋์ง ์๋ ์ฝ๋๋ผ์ ๋ฌธ์ ๊ฐ ์์๋ ๊ฒ์ธ๊ฐ์?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
zk ๋งํน ์ฌ๋ถ ๊ด๊ณ์์ด clock_gettime ๋๋ gettimeofday ๋ฅผ ์ฐ๋๋ก ๋๊ฒ๋ ๊ตฌํ๋์ด ์์ด์ผ ํฉ๋๋ค.
๋ง์ฝ ์๋ ์ฒ๋ผ ๊ตฌํ๋์ด ์๋ค๋ฉด ๋ง๊ฒ ๊ตฌํ๋ ๊ฒ ์
๋๋ค.
#ifdef USE_CLOCK_GETTIME
clock_gettime(...);
#else
gettimeofday(...);
#endif
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clock_gettime()
๋งค๋ด์ผ์ ๋ณด๋ฉด, ์๋์ ๊ฐ์ด
glibc 2.7 ์ด์ ๋ฒ์ ์ด๋ฉด librt์ linkingํ๋ผ๊ณ ๋์ด ์๋ ๋ฐ์.
glibc 2.7 ๋ถํฐ๋ glibc ๋ผ์ด๋ธ๋ฌ๋ฆฌ์์ clock_gettime()
์ง์ํ๋๊ฐ์?
#include <time.h>
int clock_gettime(clockid_t clk_id, struct timespec *tp);
//Link with -lrt (only for glibc version before 2.17)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
์ฐธ๊ณ ๋ก, USE_CLOCK_GETTIME ์ฌ์ฉํ๋ ์ฝ๋๋ EE ๋ฒ์ ์๋ง ์์ต๋๋ค.
๊ทธ๋ฆฌ๊ณ , USE_GETTIMEOFDAY๋ ์์ ์ฌ์ฉ๋์ง ์๋ define
์
๋๋ค.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
์ง๊ธ ์์ ํ๋ ค๋ ๋ฌธ์ ๊ฐ clock_gettime() ์ ๋ฌด์ ๊ด๋ จ์๋ ๊ฒ์ด ๋ง๋์?
์ ํํ๊ฒ๋ aio_XXX ๋ง ์ฌ์ฉํ์ง ๋ชปํ๋ ๊ฒ๋ง ๋ฌธ์ ๊ฐ ์๋๋๋ค.
rt ๋ผ์ด๋ธ๋ฌ๋ฆฌ์ ์ ๊ณตํ๋ API๋ฅผ ๊ฐ์ ธ๋ค ์ฐ๋ ์ํฉ์์ -lrt
์ต์
์ด ์์ ์
๋ฐ์ํ ์ ์๋ ๋ฌธ์ ์
๋๋ค.
์๋ ์ํฉ์์ -lrt ํฌํจํ์ง ์๊ณ ๋น๋ํด๋ ๋ฌธ์ ๊ฐ ์๋์?
libc ์ต์ ๋ฒ์ ์ฌ์ฉํ์ฌ -lrt ์์ด๋ clock_gettime() ์ฌ์ฉ ๊ฐ๋ฅํ ๊ฒฝ์ฐ
๋ฌธ์ ์์ต๋๋ค.
๋ฐ๋์ libc ๊ตฌ ๋ฒ์ ์ ์ฌ์ฉ ์ค์ธ ์ํฉ์์ rt์์ clock_gettime์ ์ฐพ์ ๊ฒฝ์ฐ ๋ฌธ์ ๊ฐ ๋ฐ์ํฉ๋๋ค.
clock_gettime() ๋ฐ๊ฒฌํ์ง ๋ชปํ์ฌ USE_GETTIMEOFDAY ์ค์ ๋๋ ๊ฒฝ์ฐ
๋ฌธ์ ์์ต๋๋ค.
aio_xxx() ์ฌ์ฉํ๊ธฐ ์ํด์๋ ์กฐ๊ฑด๋ถ๊ฐ ์๋๋ผ ๋ฌด์กฐ๊ฑด -lrt ํฌํจํด์ผ ํ๋ ๊ฒ์ด ์๋์ง?
๋ฌด์กฐ๊ฑด -lrt
์ต์
์ ์ฃผ๋ ๊ฒ์ ์ข์ง ์๋ค๊ณ ๋ด
๋๋ค. rt
๋ผ์ด๋ธ๋ฌ๋ฆฌ๊ฐ ์๋ ํ๊ฒฝ์ด ์์ ์๋ ์์ต๋๋ค.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ARCUS ์บ์ ์๋ฒ๋ ๊ณต์์ ์ผ๋ก CentOS๋ฅผ ์ง์ํฉ๋๋ค.
MacOS ๊ด๋ จ ์ปดํ์ผ ๋ฌธ์ ๋ฅผ ํด๊ฒฐํ๋ ์ด์ ๋ ๋จ์ง ๋ก์ปฌ ๊ฐ๋ฐ ํธ์์ฑ์ ์ํจ์ ๋๋ค.
๋ฐ๋ผ์ ์ด๋ -librt๋ฅผ aio_xxx() ํจ์๊ฐ ์์ด๋ ํฌํจํ๋ ์ด์ ๊ฐ ๋ ์ ์์ต๋๋ค.
๊ณต์์ผ๋ก ์ง์ํ๋ OS์ ๋ํ์ฌ ํฌ๊ฒ ๊ธฐ์ค์ผ๋ก ์ผ์ ์ ์ ์์ด์ ์ด ๋ถ๋ถ์ ์ข ๋ ๊ณ ๋ คํด๋ณด๊ธด ํ๊ฒ ์ต๋๋ค.
์ฐ์ ๋ง์์ ๋ํ ์ ์ ์๊ฒฌ์ ์๋์ ๊ฐ์ต๋๋ค.
MacOS์์ ๋ฌธ์ ๊ฐ ๋ฐ์ํ์ผ๋ librt ๊ฒ์ฌ๋ฅผ ํตํด aio_xxx๋ฅผ ๋ฃ์ง ์์๋ค๋ ๊ฒ์ ์๋๋๋ค. ๋ชจ๋ ์์คํ ์์ ํด๋น๋์ง ์์ ์๋ ์์ด์ librt ๊ฒ์ฌ๋ฅผ ํฌํจํ์ง ์์ ์ด์ ์ค ํ๋๊ฐ ๋ ๊ฒ์ ๋๋ค.
๋ํ, ๊ณต์์ ์ผ๋ก CentOS์ Ubuntu์์ ์ฌ์ฉ ๊ฐ๋ฅํ๋ค๊ณ ๋ช ์๋ ๊ฒ์ ๋ง์ง๋ง, ๊ทธ ์์คํ ๋ง์ ์ง์ํ๊ธฐ ์ํด ๊ฐ๋ฐ์ด ์งํ๋ ๊ฒ์ ์๋ ๊ฒ์ผ๋ก ์๊ณ ์์ต๋๋ค. ๋ง์ฝ CentOS ์ง์๋ง์ ๋ชฉํ๋ก ํ๋ค๋ฉด, ๋ค๋ฅธ ๋ฆฌ๋ ์ค ์์คํ ๊ณผ์ ํธํ์ฑ์ ๊ณ ๋ คํ์ง ์๊ณ memcached ์ฝ๋๊ฐ ๊ตฌํ๋์์ ๊ฒ์ ๋๋ค.
์ด๋ ๋ณธ PR์ ์๋์๋ ๋ค๋ฅธ ๋ฌธ์ ์ ๋๋ค.
์ด ๋ฌธ์ ๋ฅผ ํด๊ฒฐํ๊ธฐ ์ํ ๋ณ๊ฒฝ ์ฌํญ์ผ๋ก ์ธํด ์ด์๊ฐ ํด๊ฒฐ๋ ์๋ ์์ง๋ง, ์ด์๋ฅผ ํด๊ฒฐํ๊ธฐ ์ํด ํ์ฌ ๋ณ๊ฒฝ์ฌํญ์ ๋ฐ์ํ๋ค๋ ๊ฒ์ ์๋ฏธ์ ์ ํฉํ์ง ์์ต๋๋ค.
์ด๋ฒ ์ด์๋ rt
๋ผ์ด๋ธ๋ฌ๋ฆฌ๊ฐ ๋งํน๋์ง ์์ ๋ฐ์ํ ๋ฌธ์ ์์ต๋๋ค. ์ด๋ฅผ ์ฒดํฌํ๊ธฐ ์ํด aio_xxx
์ clock_gettime
์ค ํ๋๋ฅผ ์ ํํ ๊ฒ์
๋๋ค.
Linux Foundation์์ ํ์ธํ ๋ฐ์ ๋ฐ๋ฅด๋ฉด, rt ๋ผ์ด๋ธ๋ฌ๋ฆฌ์๋ clock_gettime์ด ํฌํจ๋์ด ์์์ต๋๋ค. ๊ทธ๋์ ์ด๋ฅผ ๊ธฐ์ค์ผ๋ก ์ฒดํฌํ ํ -lrt๋ฅผ ์ถ๊ฐํ๋๋ก ๊ฒฐ์ ํ์ต๋๋ค. (์ถ์ฒ: Linux Standard Base)
๋ํ ์ ๊ฐ ํ์ธํ ๋ฒ์์์๋ rt ๋ผ์ด๋ธ๋ฌ๋ฆฌ์ aio_xxx๋ ์กด์ฌํ์ง๋ง clock_gettime์ด ์๋ ๊ฒฝ์ฐ๋ ์์๋ ๊ฒ ๊ฐ์ต๋๋ค. ๊ทธ๋์ clock_gettime์ ์ฒดํฌ ๊ธฐ์ค์ผ๋ก ์ผ๊ฒ ๋ ๊ฒ์ ๋๋ค.
๋ง์ฝ aio_xxx๋ง rt์ ์กด์ฌํ๊ฑฐ๋ ๋ค๋ฅธ ๋ผ์ด๋ธ๋ฌ๋ฆฌ์ ์กด์ฌํ๋ค๋ฉด, ๊ทธ ๊ฒฝ์ฐ์๋ ๊ทผ๋ณธ์ ์ธ ํด๊ฒฐ์ฑ ์ด ๋์ง๋ ์์ ๊ฒ์ ๋๋ค.
์ถ๊ฐ๋ก, EE ์บ์ ์๋ฒ ์ฝ๋๋ฅผ ๋ณด๋ ์ด๋ฏธ ๊ทธ๋ ๊ฒ ๊ตฌํ๋์ด ์์ต๋๋ค.
๋ฐ๋ผ์ ๋๋ฒ์งธ ์ด์ ๋ ์ ํฉํ์ง ์์ ์ด์ ์ ๋๋ค.
์ด ๋ถ๋ถ์ ์ดํด๊ฐ ๋์ง ์๋ค์. ์กฐ๊ธ ๋ ์ค๋ช ํด์ฃผ์๋ฉด ๊ฐ์ฌํ๊ฒ ์ต๋๋ค.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
๋ชจ๋ ์์คํ ์์ ํด๋น๋์ง ์์ ์๋ ์์ด์ librt ๊ฒ์ฌ๋ฅผ ํฌํจํ์ง ์์ ๊ฒ์ ๋๋ค.
MacOS๋ libc์ ํฌํจ๋์ด ์์ด์ aio_suspend() ๋ฌธ์ ๊ฐ ๋ฐ์ํ์ง ์์ ๊ฒ์
๋๋ค.
librt๋ฅผ ํฌํจ ๊ธฐ์ค์ aio_xxx() ํจ์๋ก ๋ฐ๊ฟ๋ MacOS์์ ๋ฌธ์ ๊ฐ ๋ฐ์ํ์ง ์์ต๋๋ค.
https://man7.org/linux/man-pages/man3/aio_suspend.3.html
๋ฆฌ๋
์ค ๋ฉ๋ด์ผ ํ์ด์ง์์ aio_xxx() ํจ์๋ librt์ ํฌํจ๋์ด ์์ต๋๋ค.
librt๋ฅผ ํฌํจ ๊ธฐ์ค์ aio_xxx() ํจ์๋ก ๋ฐ๊ฟ๋ CentOS๋ฅผ ์ ์ธํ ๋ค๋ฅธ ๋ฆฌ๋
์ค ์์คํ
์์ ๋ฌธ์ ๊ฐ ๋ฐ์ํ์ง ์์ต๋๋ค.
์ด๋ฒ ์ด์๋ rt ๋ผ์ด๋ธ๋ฌ๋ฆฌ๊ฐ ๋งํน๋์ง ์์ ๋ฐ์ํ ๋ฌธ์ ์์ต๋๋ค.
๊ธฐ์กด ๋ก์ง์์ librt ๋ด์์ clock_gettime์ ํ์ํ์ฌ ์กด์ฌ๋ฅผ ํ์ธํ์์๋ ๋ถ๊ตฌํ๊ณ -lrt ์ต์
์ ์์ ์ฃผ์ง ์๊ณ ์์
๋ ๋ฌธ์ ์ aio_xxx() ํจ์๋ฅผ ์ฌ์ฉํ์ง ๋ชปํ๋ ๋ฌธ์ ๊ฐ ์๋ก ๋ค๋ฅธ ์ด์๋ผ๋ ์๋ฏธ์
๋๋ค.
๋ ์ด์์ ํด๊ฒฐ ๋ฐฉ๋ฒ์ ๊ณตํต์ ์ผ๋ก librt๋ฅผ ๋งํนํ๋ค๋ ๊ฒ์ด์ง๋ง, aio_xxx() ํจ์๋ฅผ ์ฌ์ฉํ์ง ๋ชปํ๋ ๋ฌธ์
๋ฅผ ํด๊ฒฐํ๊ธฐ ์ํด clock_gettime() ํจ์์ ์กด์ฌ ์ฌ๋ถ๋ฅผ ํ์ธ
ํ๋ ๊ฒ์ ์๋ฏธ์ ๋ถ์ ํฉํ ๊ฒ์
๋๋ค.
์ด ๋ถ๋ถ์ ์ดํด๊ฐ ๋์ง ์๋ค์. ์กฐ๊ธ ๋ ์ค๋ช ํด์ฃผ์๋ฉด ๊ฐ์ฌํ๊ฒ ์ต๋๋ค.
EE ์ฝ๋๋ ์ด๋ฏธ ์๋์ ๊ฐ์ด ๊ตฌํ๋์ด ์์ต๋๋ค. ๊ทธ๋ฐ๋ฐ๋ ๋ฌธ์ ๊ฐ ์๋์?
#ifdef USE_CLOCK_GETTIME
clock_gettime(...);
#else
gettimeofday(...);
#endif
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://man7.org/linux/man-pages/man3/aio_suspend.3.html
๋ฆฌ๋ ์ค ๋ฉ๋ด์ผ ํ์ด์ง์์ aio_xxx() ํจ์๋ librt์ ํฌํจ๋์ด ์์ต๋๋ค.
librt๋ฅผ ํฌํจ ๊ธฐ์ค์ aio_xxx() ํจ์๋ก ๋ฐ๊ฟ๋ CentOS๋ฅผ ์ ์ธํ ๋ค๋ฅธ ๋ฆฌ๋ ์ค ์์คํ ์์ ๋ฌธ์ ๊ฐ ๋ฐ์ํ์ง ์์ต๋๋ค.
์ฃผ์ ๋งํฌ๋ฅผ ์ดํด๋ณธ ๊ฒฐ๊ณผ, clock_gettime๊ณผ aio_xxx ํจ์๊ฐ ๊ฐ์ ์๊ธฐ์ ์ถ๊ฐ๋ ๊ฒ์ผ๋ก ๋ณด์ด๋ฉฐ
clock_gettime
๊ณผ aio_xxx
๊ฐ ํญ์ librt์ ์กด์ฌํจ์ด ๋ณด์ฅ๋๋ ๊ฒ ๊ฐ์ต๋๋ค.
EE ์ฝ๋๋ ์ด๋ฏธ ์๋์ ๊ฐ์ด ๊ตฌํ๋์ด ์์ต๋๋ค. ๊ทธ๋ฐ๋ฐ๋ ๋ฌธ์ ๊ฐ ์๋์?
์ง๊ธ ์์ ํ๊ณ ์๋ ๊ธฐ์ค์ผ๋ก ๋ง์ํ์๋ ๊ฑฐ๋ผ๋ฉด ๋ฌธ์ ๊ฐ ์์ ๊ฒ์ ๋๋ค.
๊ธฐ์กด ์ฝ๋๋ก ๋ง์ํ์๋ ๊ฑฐ๋ผ๋ฉด ๋ฌธ์ ๊ฐ ์กด์ฌํฉ๋๋ค. ๊ธฐ์กด์๋ ๋ฎ์ ๋ฒ์ ์ Libc ์ฌ์ฉ์ -lrt
์ต์
์ ์ฃผ์ง ์์
rt๊ฐ ๋งํน๋์ง ์๊ธฐ์ zk๊ฐ ๋งํนํ์ง ์๊ณ ์์ ์ฝ๋๊ฐ ๊ตฌํ๋์ด ์๋ค๋ฉด ๋ฎ์ ๋ฒ์ ์ libc์์ ๋ฌธ์ ๊ฐ ๋ฐ์ํ ๊ฒ์
๋๋ค.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
๊ธฐ์กด ์ฝ๋๋ก ๋ง์ํ์๋ ๊ฑฐ๋ผ๋ฉด ๋ฌธ์ ๊ฐ ์กด์ฌํฉ๋๋ค. ๊ธฐ์กด์๋ ๋ฎ์ ๋ฒ์ ์ Libc ์ฌ์ฉ์ -lrt ์ต์ ์ ์ฃผ์ง ์์
rt๊ฐ ๋งํน๋์ง ์๊ธฐ์ zk๊ฐ ๋งํนํ์ง ์๊ณ ์์ ์ฝ๋๊ฐ ๊ตฌํ๋์ด ์๋ค๋ฉด ๋ฎ์ ๋ฒ์ ์ libc์์ ๋ฌธ์ ๊ฐ ๋ฐ์ํ ๊ฒ์ ๋๋ค.
๊ทธ๋์ ์๋์ ๊ฐ์ด ์ง๋ฌธํ๋ ๊ฒ์ ๋๋ค.
๊ธฐ์กด์ --enable-zk-integration ์์ด ์ปดํ์ผํ ๊ฒฝ์ฐ์ ํด๋น ์ฝ๋๋ค์ด ์ ์ ๋์ํ๋์?
ํน์ ZK๊ฐ ์์ผ๋ฉด ์คํ๋์ง ์๋ ์ฝ๋๋ผ์ ๋ฌธ์ ๊ฐ ์์๋ ๊ฒ์ธ๊ฐ์?
์ ๋ง๋ก libc ๋ฒ์ ๋ ๋ฎ๊ณ librt๊ฐ ๋งํน๋์ง ์์ผ๋ฉด ๋ฌธ์ ๊ฐ ๋ฐ์ํ๋ ์ฝ๋์์ ํ์ธํ๋์?
Makefile.am
Outdated
@@ -95,7 +95,7 @@ memcached_SOURCES = \ | |||
memcached_LDFLAGS =-R '$(libdir)' | |||
memcached_CFLAGS = @PROFILER_FLAGS@ ${AM_CFLAGS} | |||
memcached_DEPENDENCIES = libmcd_util.la | |||
memcached_LDADD = @PROFILER_LDFLAGS@ libmcd_util.la -levent $(APPLICATION_LIBS) | |||
memcached_LDADD = @CLOCK_GETTIME_LIBS@ @PROFILER_LDFLAGS@ libmcd_util.la -levent $(APPLICATION_LIBS) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@{๋ณ์๋ช }@
configure.ac์์ ์ ์๋ ๋ณ์๋ฅผ ์ฌ์ฉํฉ๋๋ค.
configure.ac
Outdated
AC_DEFINE(USE_CLOCK_GETTIME, 1, [Defined if clock_gettime is available in libc]), | ||
AC_DEFINE(USE_GETTIMEOFDAY, 1, [Defined if clock_gettime is not available in libc])) | ||
AC_SUBST(CLOCK_GETTIME_LIBS) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AC_SUBST($VAR)
configure.ac ์ธ๋ถ์์ ์ฌ์ฉํ๊ธฐ ์ํ ๋ณ์๋ฅผ ์ง์ ํฉ๋๋ค.
์ด๋ ๊ฒ ํ๋ฉด CLOCK_GETTIME_LIBS๋ฅผ Makefile์์ ํ์ฉํ ์ ์๊ฒ ๋ฉ๋๋ค.
๋ค๋ฅธ ์๊ฒฌ ์์ ์ ์ฃผ์๋ฉด ๊ฐ์ฌํ๊ฒ ์ต๋๋ค. |
ํจ์ ์กด์ฌ ์ฌ๋ถ์ ๋ฐ๋ผ ๋งํฌํ๋ค๋ ๊ฒ์, ๋ ํจ์๊ฐ ์๋ ํ๊ฒฝ์์๋ |
@ing-eoking
|
๋ค. ๋ง์ต๋๋ค. ๊ทธ๋ ๋ค๋ฉด, CE ๋ฒ์ ์ด ์๋ EE ๋ฒ์ ๋ง ์์ ํ๋ฉด ๋ ๊น์?
๋ค. MacOS์์๋ -lrt๋ฅผ ์ฃผ์ง ์์๋ ๋ฉ๋๋ค. |
์์ ์ ๋ ๋ค ํ์ํ์ง ์๋์?
MacOS์์๋ aio_xxxx() ํจ์๋ค์ด ์ด๋ค library ํตํด ์ ๊ณต๋๋์? |
@ing-eoking |
libc๋ฅผ ํตํด ์ ๊ณต๋ฉ๋๋ค. |
ํ์ฌ PR์ ์ดํ |
๋ณธ PR์ mergeํ์ฌ EE์ ๋ฐ์ํ๋ฉด ๋ฌธ์ ๊ฐ ๋ ์ ์์ผ๋ฏ๋ก, |
@ing-eoking |
๋ค ๋จธ์งํด๋ ๋ ๊ฒ ๊ฐ์ต๋๋ค. |
๐ Related Issue
โจ๏ธ What I did
-lrt
๋ ๋ฐ๋ก ์ง์ ๋์ง ์์์ต๋๋ค.-lrt
์ต์ ์ ์ฃผ๋๋ก ์ถ๊ฐํ๋๋ก ๋ณ๊ฒฝํฉ๋๋ค.