Y
Hacker News
new
|
ask
|
show
|
jobs
by
yosefk
1514 days ago
Sure, I wrote some myself. Q is what libraries you can use on top of the userspace thread package that are aware of the userspace threads rather than just using OS APIs and thus eg blocking the current OS thread.
1 comments
gpderetta
1514 days ago
There are .so interposition tricks that can be used for that.
I think Pth used to do that for example.
link
yosefk
1514 days ago
Could you elaborate?
link
gpderetta
1514 days ago
For example:
https://www.gnu.org/software/pth/pth-manual.html#system_call...
See the hard system call wrapping. This is just one option.
link
I think Pth used to do that for example.