Commit Graph

21 Commits (master)

Author SHA1 Message Date
Nick Krichevsky 6d29d33dff Add more input validation 2019-09-26 20:26:32 -04:00
Nick Krichevsky e7a120f029 Remove debugging start message 2019-09-26 20:06:46 -04:00
Nick Krichevsky 14705bb277 Fix memory leak when nb sends fail 2019-09-26 12:23:24 -04:00
Nick Krichevsky ff1c70f0dd Fix some minor leaks 2019-09-26 01:19:16 -04:00
Nick Krichevsky 69b534dad7 Clean up nonblocking path 2019-09-26 01:06:04 -04:00
Nick Krichevsky b9f8289ffd immediately teminate when nb messages finish for mailbox 2019-09-26 00:54:22 -04:00
Nick Krichevsky 518cfd2992 Add ability to terminate threads with no input immediately 2019-09-25 23:23:50 -04:00
Nick Krichevsky cedaf7305f Refactor blocking input sends in preperation for fixing nonblocking inputs 2019-09-25 17:22:04 -04:00
Nick Krichevsky 98b0dfe85e Add queue-based nb implementation 2019-09-24 04:10:58 -04:00
Nick Krichevsky 7be5f64292 Add crude nb implementation 2019-09-24 03:18:25 -04:00
Nick Krichevsky 9e0b0bfaf3 Allow for queueing to the last mailbox 2019-09-24 03:05:30 -04:00
Nick Krichevsky 0403e2cd75 Join cancelled threads so we don't leak memory 2019-09-24 02:40:36 -04:00
Nick Krichevsky b5484f115f Fix memory leak with inputs 2019-09-23 16:39:22 -04:00
Nick Krichevsky 5fda00f1fd Add result collection 2019-09-23 16:38:52 -04:00
Nick Krichevsky 0d93481fea Add basic sending of input to threads 2019-09-23 15:36:27 -04:00
Nick Krichevsky 4cc75e59cf Allocate the correct number of mailboxes for the number of threads 2019-09-23 15:09:41 -04:00
Nick Krichevsky 0b21e8be9a Add ability to spawn adder threads 2019-09-23 13:17:15 -04:00
Nick Krichevsky a5af246855 Add mailbox setup and teardown 2019-09-22 14:48:05 -04:00
Nick Krichevsky 52bb13efd6 Add ceiling on num_threads 2019-09-22 14:42:51 -04:00
Nick Krichevsky 369cafe0c1 Add argument parsing 2019-09-21 21:36:38 -04:00
Nick Krichevsky 8ec844245a Add basic input parsing 2019-09-21 21:30:24 -04:00