Re: using a thread-local buffer for strerror()

2021-12-18 Thread Stuart Henderson
On 2021-12-18, John Scott wrote: > I don't use OpenBSD, but I've played with it and am interested in making > my code portable to it. A trend which the GNU C Library recently got on > board with is to use a thread-local storage buffer for strerror() which > makes it safe to use across multiple thr

Re: suspend/resume kills X

2021-12-18 Thread James Cook
On Sat, Dec 18, 2021 at 12:25:26PM +0100, Jan Stary wrote: > On Dec 18 08:49:33, h...@stare.cz wrote: > > This is current/amd64 on a PC (dmesg below). > > > > After boot, I log into X, running cwm, > > an xterm, and a script(1) of this. > > > > |-+= 14944 root /usr/X11R6/bin/xenodm > > | |-+= 5

using a thread-local buffer for strerror()

2021-12-18 Thread John Scott
Hi, I don't use OpenBSD, but I've played with it and am interested in making my code portable to it. A trend which the GNU C Library recently got on board with is to use a thread-local storage buffer for strerror() which makes it safe to use across multiple threads. I was wondering if there is a p

Re: Profiling ifconfig

2021-12-18 Thread Stuart Henderson
On 2021-12-17, Vladimir Nikishkin wrote: > 78429 ifconfig 1639744429.761947 CALL ioctl(3,SIOCSIFFLAGS,0x7f7bda80) > 78429 ifconfig 1639744660.684179 RET ioctl 0 > ``` > > I have no idea what this means, to be honest. > ioctl(3,SIOCSIFFLAGS,0x7f7bda80) seems to be the one running for >

Re: suspend/resume kills X

2021-12-18 Thread Jan Stary
On Dec 18 08:49:33, h...@stare.cz wrote: > This is current/amd64 on a PC (dmesg below). > > After boot, I log into X, running cwm, > an xterm, and a script(1) of this. > > |-+= 14944 root /usr/X11R6/bin/xenodm > | |-+= 56178 _x11 /usr/X11R6/bin/X :0 vt05 -auth > /etc/X11/xenodm/authdir/authf >