mirror of https://github.com/yandex/odyssey.git
machinarium: do not memset stack on fiber allocation
This commit is contained in:
parent
2e9593d8a5
commit
a0b757542d
|
@ -21,7 +21,7 @@ include_directories("${PROJECT_BINARY_DIR}/src")
|
|||
add_custom_target(build_libs)
|
||||
set(mm_libraries "")
|
||||
|
||||
# machinarium
|
||||
# libuv
|
||||
include(BuildLIBUV)
|
||||
build_libuv()
|
||||
set(mm_libraries ${mm_libraries} ${LIBUV_LIBRARIES})
|
||||
|
|
|
@ -27,7 +27,6 @@ mm_fiber_alloc(int size_stack)
|
|||
if (fiber == NULL)
|
||||
return NULL;
|
||||
mm_fiber_init(fiber);
|
||||
memset(mm_fiber_stackof(fiber), 0, size_stack);
|
||||
return fiber;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue