Add Pthread backend and check for empty list of backends
Created by: masterleinad
Not checking for the device types we support gave me some pretty hard to understand errors.
Created by: masterleinad
Not checking for the device types we support gave me some pretty hard to understand errors.