Lines Matching full:wakeup
115 } wakeup = {.fd = INVALID_FD, .warn_on_full_buffer = 1, .use_send = 0}; variable
125 } wakeup = {.fd = INVALID_FD, .warn_on_full_buffer = 1}; variable
258 "signal wakeup fd:\n"); in report_wakeup_write_error()
276 "signal wakeup fd:\n"); in report_wakeup_send_error()
298 /* And then write to the wakeup fd *after* setting all the globals and in trip_signal()
299 doing the _PyEval_SignalReceived. We used to write to the wakeup fd in trip_signal()
303 - main thread blocks on select([wakeup.fd], ...) in trip_signal()
305 - trip_signal writes to the wakeup fd in trip_signal()
308 - the main thread empties the wakeup fd in trip_signal()
319 fd = Py_SAFE_DOWNCAST(wakeup.fd, SOCKET_T, int); in trip_signal()
321 fd = wakeup.fd; in trip_signal()
327 if (wakeup.use_send) { in trip_signal()
332 if (wakeup.warn_on_full_buffer || in trip_signal()
351 if (wakeup.warn_on_full_buffer || in trip_signal()
802 old_sockfd = wakeup.fd;
803 wakeup.fd = sockfd;
804 wakeup.warn_on_full_buffer = warn_on_full_buffer;
805 wakeup.use_send = is_socket;
829 int old_fd = wakeup.fd;
830 wakeup.fd = fd;
831 wakeup.warn_on_full_buffer = warn_on_full_buffer;
841 comes in. A library can use this to wakeup select or poll.\n\
855 int old_fd = Py_SAFE_DOWNCAST(wakeup.fd, SOCKET_T, int);
857 int old_fd = wakeup.fd;
859 wakeup.fd = fd;
860 wakeup.warn_on_full_buffer = 1;