Lines Matching refs:options
254 uv_thread_options_t options; in TEST_IMPL() local
256 options.flags = UV_THREAD_HAS_STACK_SIZE; in TEST_IMPL()
257 options.stack_size = 1024 * 1024; in TEST_IMPL()
258 ASSERT_OK(uv_thread_create_ex(&thread, &options, in TEST_IMPL()
259 thread_check_stack, &options)); in TEST_IMPL()
262 options.stack_size = 8 * 1024 * 1024; /* larger than most default os sizes */ in TEST_IMPL()
263 ASSERT_OK(uv_thread_create_ex(&thread, &options, in TEST_IMPL()
264 thread_check_stack, &options)); in TEST_IMPL()
267 options.stack_size = 0; in TEST_IMPL()
268 ASSERT_OK(uv_thread_create_ex(&thread, &options, in TEST_IMPL()
269 thread_check_stack, &options)); in TEST_IMPL()
272 options.stack_size = 42; in TEST_IMPL()
273 ASSERT_OK(uv_thread_create_ex(&thread, &options, in TEST_IMPL()
274 thread_check_stack, &options)); in TEST_IMPL()
278 options.stack_size = PTHREAD_STACK_MIN - 42; /* unaligned size */ in TEST_IMPL()
279 ASSERT_OK(uv_thread_create_ex(&thread, &options, in TEST_IMPL()
280 thread_check_stack, &options)); in TEST_IMPL()
283 options.stack_size = PTHREAD_STACK_MIN / 2 - 42; /* unaligned size */ in TEST_IMPL()
284 ASSERT_OK(uv_thread_create_ex(&thread, &options, in TEST_IMPL()
285 thread_check_stack, &options)); in TEST_IMPL()
290 options.stack_size = 1234567; in TEST_IMPL()
291 ASSERT_OK(uv_thread_create_ex(&thread, &options, in TEST_IMPL()
292 thread_check_stack, &options)); in TEST_IMPL()