Home
last modified time | relevance | path

Searched refs:shutdown_data (Results 1 – 4 of 4) sorted by relevance

/third_party/node/deps/uvwasi/src/
Dsync_helpers.c31 shutdown_data_t* shutdown_data; in do_stream_shutdown() local
32 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() argument
43 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()
Dsync_helpers.h22 shutdown_data_t* shutdown_data);
Duvwasi.c2699 shutdown_data_t shutdown_data; in uvwasi_sock_shutdown() local
2721 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()
/third_party/protobuf/src/google/protobuf/
Dmessage_lite.cc565 auto shutdown_data = ShutdownData::get(); in OnShutdownRun() local
566 MutexLock lock(&shutdown_data->mutex); in OnShutdownRun()
567 shutdown_data->functions.push_back(std::make_pair(f, arg)); in OnShutdownRun()