Multithread example

Example of multithreading by releasing the GIL through ctypes.