Opened 2 years ago
Closed 2 years ago
#18007 closed bug (invalid)
Add pthread_timedjoin_np pthread function?
Reported by: | kallisti5 | Owned by: | nobody |
---|---|---|---|
Priority: | low | Milestone: | Unscheduled |
Component: | System | Version: | R1/beta3 |
Keywords: | pthread | Cc: | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
Should we add a compatibility pthread_timedjoin_np function?
I see pthread_timedjoin_np on Linux and FreeBSD man pages. I don't see wide usage, however it's not trivial to implement in ports.
Change History (2)
comment:1 by , 2 years ago
comment:2 by , 2 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
That's a fair assessment. I actually up-streamed a fix to liblxi (which is where I originally ran into this) pretty much rolling its own.
https://github.com/lxi-tools/liblxi/pull/31
pthread_timedjoin_np is handy, but yeah... we shouldn't be encouraging people to keep using linux-centric functions and try to get folks using standard posix functions. That'll help the BSD's and us.
Note:
See TracTickets
for help on using tickets.
From https://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_xsh_chap02.html