mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
core: make sure win32 sockets remain blocking
Commit 7e344b5 hade the side effect of forcing every socket to
be non-blocking on Windows. This is because of a (documented)
side effect of WSAEventSelect(). So we need to make sure to restore
blocking behaviour afterwards for relevant sockets.
This commit is contained in:
parent
abfca5cb58
commit
0138a51a2c
3 changed files with 69 additions and 9 deletions
|
|
@ -57,6 +57,9 @@ struct timeval;
|
|||
#endif
|
||||
|
||||
void pa_make_fd_nonblock(int fd);
|
||||
void pa_make_fd_block(int fd);
|
||||
bool pa_is_fd_nonblock(int fd);
|
||||
|
||||
void pa_make_fd_cloexec(int fd);
|
||||
|
||||
int pa_make_secure_dir(const char* dir, mode_t m, uid_t uid, gid_t gid, bool update_perms);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue