updated code for linked list, ring buffer, and thread pool options