I want to create threads that will add something to an array, but, if they don\'t do that in less than 2 seconds, I want to terminate them.
This is a prof of concept,