Register a function to run after the process has forked
(self, function, *args, **kwargs)
| 1081 | return wrapped_run_func |
| 1082 | |
| 1083 | def register_after_fork_method(self, function, *args, **kwargs): |
| 1084 | """ |
| 1085 | Register a function to run after the process has forked |
| 1086 | """ |
| 1087 | after_fork_method_tuple = (function, args, kwargs) |
| 1088 | if after_fork_method_tuple not in self._after_fork_methods: |
| 1089 | self._after_fork_methods.append(after_fork_method_tuple) |
| 1090 | |
| 1091 | def register_finalize_method(self, function, *args, **kwargs): |
| 1092 | """ |
no test coverage detected