Searched refs:shutdown_data (Results 1 – 4 of 4) sorted by relevance
31 shutdown_data_t* shutdown_data; in do_stream_shutdown() local32 shutdown_data = uv_handle_get_data((uv_handle_t*) req->handle); in do_stream_shutdown()33 shutdown_data->status = status; in do_stream_shutdown()34 shutdown_data->done = 1; in do_stream_shutdown()39 shutdown_data_t* shutdown_data) { in shutdown_stream_sync() argument43 shutdown_data->done = 0; in shutdown_stream_sync()44 shutdown_data->status = 0; in shutdown_stream_sync()47 uv_handle_set_data((uv_handle_t*) stream, (void*) shutdown_data); in shutdown_stream_sync()49 while (!shutdown_data->done) { in shutdown_stream_sync()
22 shutdown_data_t* shutdown_data);
2699 shutdown_data_t shutdown_data; in uvwasi_sock_shutdown() local2721 err = shutdown_stream_sync(uvwasi, (uv_stream_t*) wrap->sock, &shutdown_data); in uvwasi_sock_shutdown()2730 if (shutdown_data.status != 0) in uvwasi_sock_shutdown()2731 return uvwasi__translate_uv_error(shutdown_data.status); in uvwasi_sock_shutdown()
565 auto shutdown_data = ShutdownData::get(); in OnShutdownRun() local566 MutexLock lock(&shutdown_data->mutex); in OnShutdownRun()567 shutdown_data->functions.push_back(std::make_pair(f, arg)); in OnShutdownRun()