Maarten Bosmans
821562b9bc
Use pa_read, pa_write and pa_poll instead of system functions
2011-02-17 12:02:31 +01:00
Maarten Bosmans
bb12ff8356
Apply #ifdefs around functionality not available on win32
...
And also the reverse: around some win32 specific functionality
2011-02-17 11:58:22 +01:00
Maarten Bosmans
d6d9fb295d
Clean up <poll.h> includes
...
Instead <pulsecore/poll.h> should be included. That file includes poll.h on
platform where it is appropriate. Also remove some unnecessary <ioctl.h>
includes.
2011-02-17 11:58:21 +01:00
Lennart Poettering
cdc2769162
thread: name all threads so that the names appear in /proc/$PID/task/$TID/comm
2010-05-07 23:58:59 +02:00
Daniel Mack
17d34462ea
poll() is totally broken on Mac OS X
...
Even on 10.5.8, poll() does not do the right thing. Haven't checked on
newer versions. Hence, wrap all occurences of poll() to pa_poll and
emulate that call with select() on OSX. This is totally embarassing.
2009-12-16 16:11:36 +08:00
Lennart Poettering
65e7bc18a9
use cloexec wrappers wherever applicable
2009-10-30 03:32:38 +01:00
Lennart Poettering
277822053c
autospawn: if creating the lock file fails, pass error code cleanly back to main process
...
This makes sure PA clients don't hang if $HOME is for some reason
unsuitable for autospawn lockfiles.
Closes #539
2009-08-01 03:10:19 +02:00
Colin Guthrie
86dee05aec
Use LGPL 2.1 on all files previously using LGPL 2
2009-03-03 20:23:02 +00:00
Lennart Poettering
821dc1797f
move autospawn lock to pulsecore/ since we don't need it in the client anymore
2008-09-08 17:22:27 +03:00