3 ms·
You can probably make this work if and only if the thread is shared-nothing. If you share any data structure with another thread then you have the possibility o
by pjc50 2y ago
You can probably make this work if and only if the thread is shared-nothing. If you share any data structure with another thread then you have the possibility of leaving it in an invalid state when killed.
This also requires any "channel" primitives you use for inter-thread communication to be tolerant of either thread being killed at any instruction boundary, which is hard to design.
- meindnoch 2y agoShared-nothing threads? So basically processes.