Konstantin Belousov
49ad342cc1
Add _Fork()
...
Current POSIX standard requires fork() to be async-signal safe. Neither
our implementation, nor implementations in other operating systems are,
and practically it is impossible to make fork() async-signal safe without
too much efforts. Also, that would put undue requirement that all atfork
handlers should be async-signal safe as well, which contradicts its main
use.
As result, Austin Group dropped the requirement, and added a new function
_Fork() that should be async-signal safe, but it does not call atfork
handlers. Basically, _Fork() can be implemented as a raw syscall.
Release of glibc 2.34 added _Fork(), do the same for FreeBSD.
Clarify threading behavior for fork() in the manpage.
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Differential revision: https://reviews.freebsd.org/D31378
2021-08-03 21:19:32 +03:00
..
2017-12-08 15:57:29 +00:00
2020-04-04 00:56:56 +00:00
2017-11-25 17:09:43 +00:00
2019-08-12 20:27:33 +00:00
2020-12-16 09:02:09 +00:00
2017-11-20 19:45:28 +00:00
2017-11-20 19:45:28 +00:00
2017-11-20 19:45:28 +00:00
2017-11-20 19:45:28 +00:00
2017-11-25 17:09:43 +00:00
2018-07-15 00:23:10 +00:00
2017-11-25 17:09:43 +00:00
2017-11-20 19:45:28 +00:00
2017-11-20 19:45:28 +00:00
2017-11-20 19:45:28 +00:00
2020-05-15 11:58:01 +00:00
2017-11-25 17:09:43 +00:00
2017-11-25 17:09:43 +00:00
2018-01-28 19:37:30 +00:00
2017-11-25 17:09:43 +00:00
2017-11-20 19:45:28 +00:00
2017-11-20 19:45:28 +00:00
2017-11-20 19:45:28 +00:00
2017-12-08 15:57:29 +00:00
2017-11-25 17:09:43 +00:00
2017-11-20 19:45:28 +00:00
2017-11-20 19:45:28 +00:00
2017-12-08 15:57:29 +00:00
2017-11-25 17:09:43 +00:00
2017-12-13 16:13:17 +00:00
2017-11-25 17:09:43 +00:00
2017-11-25 17:09:43 +00:00
2017-11-25 17:09:43 +00:00
2017-11-25 17:09:43 +00:00
2017-12-08 22:06:18 +00:00
2018-10-04 21:55:58 +00:00
2017-11-25 17:09:43 +00:00
2017-11-20 19:45:28 +00:00
2021-06-11 21:18:04 +02:00
2020-05-14 21:12:08 +00:00
2020-05-12 18:17:57 +00:00
2017-11-20 19:45:28 +00:00
2019-05-23 17:19:05 +00:00
2017-11-25 17:09:43 +00:00
2017-11-20 19:45:28 +00:00
2017-11-25 17:09:43 +00:00
2017-11-20 19:45:28 +00:00
2017-11-27 17:18:31 +00:00
2018-12-23 20:51:13 +00:00
2017-11-25 17:09:43 +00:00
2017-11-20 19:45:28 +00:00
2017-11-25 17:09:43 +00:00
2017-11-25 17:09:43 +00:00
2020-10-23 09:22:23 +00:00
2017-11-25 17:09:43 +00:00
2017-11-25 17:09:43 +00:00
2020-06-04 09:06:03 +00:00
2021-06-14 16:30:16 +01:00
2017-11-20 19:45:28 +00:00
2017-11-20 19:45:28 +00:00
2017-12-08 15:57:29 +00:00
2020-07-31 12:40:31 +00:00
2017-12-08 15:57:29 +00:00
2017-12-08 15:57:29 +00:00
2021-02-23 20:08:10 +02:00
2016-10-13 18:25:40 +00:00
2017-11-25 17:09:43 +00:00
2017-11-20 19:45:28 +00:00
2019-12-12 01:41:55 +00:00
2017-11-25 17:09:43 +00:00
2017-11-20 19:45:28 +00:00
2017-11-25 17:09:43 +00:00
2020-10-24 23:21:06 +00:00
2017-11-20 19:45:28 +00:00
2020-02-02 19:45:12 +00:00
2020-10-24 23:21:06 +00:00
2017-11-25 17:09:43 +00:00
2021-07-15 19:40:28 +03:00
2017-11-25 17:09:43 +00:00
2017-11-25 17:09:43 +00:00
2017-11-20 19:45:28 +00:00
2017-11-20 19:45:28 +00:00
2020-12-25 20:43:09 +02:00
2017-11-25 17:09:43 +00:00
2021-07-30 17:20:22 -06:00
2017-11-20 19:45:28 +00:00
2017-11-25 17:09:43 +00:00
2018-02-27 10:54:15 +00:00
2017-11-25 17:09:43 +00:00
2017-11-25 17:09:43 +00:00
2021-08-03 21:19:32 +03:00
2017-12-08 15:57:29 +00:00
2017-11-20 19:45:28 +00:00
2017-11-25 17:09:43 +00:00
2017-11-25 17:09:43 +00:00
2018-02-12 14:48:14 +00:00
2021-07-15 19:40:28 +03:00
2017-11-25 17:09:43 +00:00
2017-11-25 17:09:43 +00:00
2017-11-25 17:09:43 +00:00