SInce 81338031 (switch linuxulator to use the native 1:1 threads)
_WALL, _WCLONE flags are broken due to the fact that (to Linux kernel)
no distinction between processes and threads - everything is runnable
task. This allows do a weird things like waiting for a thread status
change by wait() API, unlike FreeBSD where wait() is process intended
only.
Details
Details
- Reviewers
- None
- Group Reviewers
Linux Emulation
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 45534 Build 42422: arc lint + arc unit
Event Timeline
sys/compat/linux/linux_misc.c | ||
---|---|---|
2760–2761 | I haven't seen, NPTL does not use _WCLONE, however illumos implemented it (I don't know the reason or bug) |
Comment Actions
leave WLINUXCLONE define as libsysdecode mktables fails,
it uses $DSTDIR/include, not $SRCDIR to build.