Kaz Kylheku <864-117-4973@kylheku.com> writes:
On 2023-11-03, Scott Lurndal <scott@slp53.sl.home> wrote:
The introduction of threads pretty much invalidated the idea of
a global errno, which is why all newly defined POSIX system calls
return the error number directly rather than leveraging the
legacy errno (threaded applications define errno as a thread-local
variable to accomodate the legacy system calls).
In article <7gb1N.177699$sxoa....@fx13.iad>,
Scott Lurndal <sl...@pacbell.net> wrote:
Kaz Kylheku <864-11...@kylheku.com> writes:I hate having to killfile my own thread.
On 2023-11-03, Scott Lurndal <sc...@slp53.sl.home> wrote:
The introduction of threads pretty much invalidated the idea of
a global errno, which is why all newly defined POSIX system calls
return the error number directly rather than leveraging the
legacy errno (threaded applications define errno as a thread-local
variable to accomodate the legacy system calls).
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 308 |
Nodes: | 16 (2 / 14) |
Uptime: | 92:52:14 |
Calls: | 6,923 |
Calls today: | 1 |
Files: | 12,382 |
Messages: | 5,434,104 |