- 26 Mar, 2018 19 commits
-
-
David Wilson authored
-
David Wilson authored
Those fields are always None since the recent fork cleanup work.
-
David Wilson authored
14:50:04 E mitogen: mitogen.fork.Stream('fork.7431') crashed Traceback (most recent call last): File "/home/dmw/src/mitogen/mitogen/core.py", line 1287, in _call func(self) File "/home/dmw/src/mitogen/mitogen/core.py", line 758, in on_receive return self.on_disconnect(broker) File "/home/dmw/src/mitogen/mitogen/parent.py", line 370, in on_disconnect super(Stream, self).on_disconnect(broker) File "/home/dmw/src/mitogen/mitogen/core.py", line 721, in on_disconnect fire(self, 'disconnect') File "/home/dmw/src/mitogen/mitogen/core.py", line 162, in fire return [func(*args, **kwargs) for func in signals.get(name, ())] File "/home/dmw/src/mitogen/mitogen/core.py", line 1160, in <lambda> listen(stream, 'disconnect', lambda: self.on_stream_disconnect(stream)) File "/home/dmw/src/mitogen/mitogen/core.py", line 1142, in on_stream_disconnect for context in self._context_by_id.itervalues(): RuntimeError: dictionary changed size during iteration
-
David Wilson authored
-
David Wilson authored
-
David Wilson authored
-
dw authored
Add testimonial from Clojars
-
David Wilson authored
-
David Wilson authored
-
David Wilson authored
-
David Wilson authored
-16% reduction in fork cost.
-
David Wilson authored
-
David Wilson authored
-
David Wilson authored
This lets context.shutdown(wait=True) succeed in the master or any parent.
-
David Wilson authored
-
David Wilson authored
-
David Wilson authored
-
David Wilson authored
-
David Wilson authored
-
- 25 Mar, 2018 14 commits
-
-
Daniel Compton authored
-
David Wilson authored
-
David Wilson authored
-
David Wilson authored
-
David Wilson authored
Central mechanism for deleting all non-Latch file descriptors belonging to the parent process during fork().
-
David Wilson authored
-
David Wilson authored
Many dragons present!
-
David Wilson authored
-
David Wilson authored
Let us override a class attribute to specify prefix from fork.py, rather than reimplement the same logic.
-
David Wilson authored
TLS destructors are not called after fork, therefore we must explicitly track a global list of free file descriptors, and arrange for that list to explicitly be destroyed from fork.py.
-
David Wilson authored
More hacky layering violations.. force Importer's _context attribute to our new parent.
-
David Wilson authored
-
David Wilson authored
This allows context_by_id() in the master to succeed in returning a Context with a .name matching the context's name, needed for correct logging. Previously this would have logged the empty string, because the master had no mechanism to know the name of a context created by a child.
-
David Wilson authored
-
- 24 Mar, 2018 7 commits
-
-
David Wilson authored
-
David Wilson authored
-
David Wilson authored
-
David Wilson authored
Mostly just to avoid embarrassing function size, but it may come in useful for testing later.
-
David Wilson authored
-
David Wilson authored
-
David Wilson authored
-