1. A network device comprising: an interface module communicatively coupled to a network for acquiring a data packet; a plurality of threads of execution; and a dynamic pool allocator for selectively dispatching one of the plurality of threads of execution for processing said data packet.